google-apis-contentwarehouse_v1 0.1.0 → 0.3.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/contentwarehouse_v1/classes.rb +1510 -341
- data/lib/google/apis/contentwarehouse_v1/gem_version.rb +3 -3
- data/lib/google/apis/contentwarehouse_v1/representations.rb +530 -84
- data/lib/google/apis/contentwarehouse_v1/service.rb +5 -3
- metadata +5 -5
@@ -2952,6 +2952,38 @@ module Google
|
|
2952
2952
|
end
|
2953
2953
|
end
|
2954
2954
|
|
2955
|
+
# Contact-level people-prompts settings and contact-level connection reminders.
|
2956
|
+
# Part of go/people-prompts.
|
2957
|
+
class AppsPeopleOzExternalMergedpeopleapiConnectionReminder
|
2958
|
+
include Google::Apis::Core::Hashable
|
2959
|
+
|
2960
|
+
# Contains the Contact level settings that will affect all reminders.
|
2961
|
+
# Corresponds to the JSON property `contactPromptSettings`
|
2962
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactPromptSettings]
|
2963
|
+
attr_accessor :contact_prompt_settings
|
2964
|
+
|
2965
|
+
# Metadata for a single Person field. See go/understanding-merged-person
|
2966
|
+
# Corresponds to the JSON property `metadata`
|
2967
|
+
# @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
|
2968
|
+
attr_accessor :metadata
|
2969
|
+
|
2970
|
+
# Contact-level "reminder to connect" prompts for this contact.
|
2971
|
+
# Corresponds to the JSON property `prompt`
|
2972
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPrompt>]
|
2973
|
+
attr_accessor :prompt
|
2974
|
+
|
2975
|
+
def initialize(**args)
|
2976
|
+
update!(**args)
|
2977
|
+
end
|
2978
|
+
|
2979
|
+
# Update properties of this object
|
2980
|
+
def update!(**args)
|
2981
|
+
@contact_prompt_settings = args[:contact_prompt_settings] if args.key?(:contact_prompt_settings)
|
2982
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2983
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
2984
|
+
end
|
2985
|
+
end
|
2986
|
+
|
2955
2987
|
# A membership that the person has. The person can be a member of multiple
|
2956
2988
|
# circles and multiple contact-groups. A circle membership is created by adding
|
2957
2989
|
# a person to a circle by person-id or by email. A contact-group membership is
|
@@ -4749,11 +4781,6 @@ module Google
|
|
4749
4781
|
# @return [String]
|
4750
4782
|
attr_accessor :desk_code
|
4751
4783
|
|
4752
|
-
#
|
4753
|
-
# Corresponds to the JSON property `extendedData`
|
4754
|
-
# @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiLocationExtendedData]
|
4755
|
-
attr_accessor :extended_data
|
4756
|
-
|
4757
4784
|
#
|
4758
4785
|
# Corresponds to the JSON property `floorName`
|
4759
4786
|
# @return [String]
|
@@ -4800,7 +4827,6 @@ module Google
|
|
4800
4827
|
@building_name = args[:building_name] if args.key?(:building_name)
|
4801
4828
|
@current = args[:current] if args.key?(:current)
|
4802
4829
|
@desk_code = args[:desk_code] if args.key?(:desk_code)
|
4803
|
-
@extended_data = args[:extended_data] if args.key?(:extended_data)
|
4804
4830
|
@floor_name = args[:floor_name] if args.key?(:floor_name)
|
4805
4831
|
@floor_section = args[:floor_section] if args.key?(:floor_section)
|
4806
4832
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
@@ -4811,25 +4837,6 @@ module Google
|
|
4811
4837
|
end
|
4812
4838
|
end
|
4813
4839
|
|
4814
|
-
#
|
4815
|
-
class AppsPeopleOzExternalMergedpeopleapiLocationExtendedData
|
4816
|
-
include Google::Apis::Core::Hashable
|
4817
|
-
|
4818
|
-
# Corp Deskbooking-related extension data for use with Location.
|
4819
|
-
# Corresponds to the JSON property `corpDeskbookingExtendedData`
|
4820
|
-
# @return [Google::Apis::ContentwarehouseV1::SocialGraphWireProtoPeopleapiExtensionCorpDeskbookingLocationExtendedData]
|
4821
|
-
attr_accessor :corp_deskbooking_extended_data
|
4822
|
-
|
4823
|
-
def initialize(**args)
|
4824
|
-
update!(**args)
|
4825
|
-
end
|
4826
|
-
|
4827
|
-
# Update properties of this object
|
4828
|
-
def update!(**args)
|
4829
|
-
@corp_deskbooking_extended_data = args[:corp_deskbooking_extended_data] if args.key?(:corp_deskbooking_extended_data)
|
4830
|
-
end
|
4831
|
-
end
|
4832
|
-
|
4833
4840
|
#
|
4834
4841
|
class AppsPeopleOzExternalMergedpeopleapiManagementUpchain
|
4835
4842
|
include Google::Apis::Core::Hashable
|
@@ -5834,6 +5841,15 @@ module Google
|
|
5834
5841
|
# @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiCommunicationEmail>]
|
5835
5842
|
attr_accessor :communication_email
|
5836
5843
|
|
5844
|
+
# Reminder to connect with a Contact (part of go/people-prompts). Also contains
|
5845
|
+
# contact-level prompts settings. Each Contact can have a single `
|
5846
|
+
# connection_reminder` (but can have multiple Prompts inside of it). Field is
|
5847
|
+
# repeated per PeopleAPI data model go/people-api-concepts#repeated. Only
|
5848
|
+
# supported for CONTACT container.
|
5849
|
+
# Corresponds to the JSON property `connectionReminder`
|
5850
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiConnectionReminder>]
|
5851
|
+
attr_accessor :connection_reminder
|
5852
|
+
|
5837
5853
|
# Contact groups that this person is a member of.
|
5838
5854
|
# Corresponds to the JSON property `contactGroupMembership`
|
5839
5855
|
# @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiContactGroupMembership>]
|
@@ -6022,7 +6038,8 @@ module Google
|
|
6022
6038
|
|
6023
6039
|
# The ID of the person. This is determined by the backend, is unstable, and may
|
6024
6040
|
# not be the same as a user_id. Internally referred as 'personKey' to
|
6025
|
-
# distinguish from the common PersonId pojo. See go/
|
6041
|
+
# distinguish from the common PersonId pojo. See go/people-api-concepts#person-
|
6042
|
+
# id
|
6026
6043
|
# Corresponds to the JSON property `personId`
|
6027
6044
|
# @return [String]
|
6028
6045
|
attr_accessor :person_id
|
@@ -6180,6 +6197,7 @@ module Google
|
|
6180
6197
|
@circle_membership = args[:circle_membership] if args.key?(:circle_membership)
|
6181
6198
|
@client_data = args[:client_data] if args.key?(:client_data)
|
6182
6199
|
@communication_email = args[:communication_email] if args.key?(:communication_email)
|
6200
|
+
@connection_reminder = args[:connection_reminder] if args.key?(:connection_reminder)
|
6183
6201
|
@contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership)
|
6184
6202
|
@contact_state_info = args[:contact_state_info] if args.key?(:contact_state_info)
|
6185
6203
|
@cover_photo = args[:cover_photo] if args.key?(:cover_photo)
|
@@ -8273,15 +8291,15 @@ module Google
|
|
8273
8291
|
# field are as follows based on the value of the `container_type` field: CONTACT:
|
8274
8292
|
# Hex-encoded contact id. PROFILE: DOMAIN_PROFILE: GOOGLE_GROUP:
|
8275
8293
|
# NAMED_CHAT_ROOM: Focus-obfuscated Gaia ID. DOMAIN_CONTACT: Synthetic-contact
|
8276
|
-
# id representing the domain shared contact. PLACE: Encoded PlaceId
|
8277
|
-
#
|
8278
|
-
# raw_contact_id, encoded as base64 serialized social.graph.
|
8279
|
-
# internal.RawDeviceContactId proto. CONTACT_ANNOTATION: Pair of
|
8280
|
-
# and event_timestamp, encoded as base64 serialized social.graph.
|
8281
|
-
# internal.ContactAnnotationId proto. -- DEPRECATED container
|
8282
|
-
# container is CIRCLE, then the id is going to be the synthetic-
|
8283
|
-
# representing the email-only circle member or gaia circle member for
|
8284
|
-
# requester does not have a contact for.
|
8294
|
+
# id representing the domain shared contact. PLACE: Encoded PlaceId (go/javagoog/
|
8295
|
+
# maps/api/places/util/PlaceIdEncoder.java) RAW_DEVICE_CONTACT: Pair of
|
8296
|
+
# device_id and raw_contact_id, encoded as base64 serialized social.graph.
|
8297
|
+
# peopleapi.proto.internal.RawDeviceContactId proto. CONTACT_ANNOTATION: Pair of
|
8298
|
+
# annotation_id and event_timestamp, encoded as base64 serialized social.graph.
|
8299
|
+
# peopleapi.proto.internal.ContactAnnotationId proto. -- DEPRECATED container
|
8300
|
+
# types -- If the container is CIRCLE, then the id is going to be the synthetic-
|
8301
|
+
# contact id representing the email-only circle member or gaia circle member for
|
8302
|
+
# which the requester does not have a contact for.
|
8285
8303
|
# Corresponds to the JSON property `id`
|
8286
8304
|
# @return [String]
|
8287
8305
|
attr_accessor :id
|
@@ -11895,7 +11913,7 @@ module Google
|
|
11895
11913
|
# enum. A surface's capabilities can differ from the device's. An example would
|
11896
11914
|
# be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
|
11897
11915
|
# Pixel does. In this case, audio_input will be set to false for Assistant Allo
|
11898
|
-
# requests while it might be set to true for OPA_NEXUS requests. Next ID:
|
11916
|
+
# requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
|
11899
11917
|
class AssistantApiDeviceCapabilities
|
11900
11918
|
include Google::Apis::Core::Hashable
|
11901
11919
|
|
@@ -11930,6 +11948,11 @@ module Google
|
|
11930
11948
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiCameraCapabilities]
|
11931
11949
|
attr_accessor :camera
|
11932
11950
|
|
11951
|
+
# UX restrictions for Auto.
|
11952
|
+
# Corresponds to the JSON property `carUxRestrictions`
|
11953
|
+
# @return [Array<String>]
|
11954
|
+
attr_accessor :car_ux_restrictions
|
11955
|
+
|
11933
11956
|
# These capabilities represent capabilities that have to do with casting that
|
11934
11957
|
# pertain to this device. Next ID: 9
|
11935
11958
|
# Corresponds to the JSON property `cast`
|
@@ -11995,7 +12018,7 @@ module Google
|
|
11995
12018
|
attr_accessor :location
|
11996
12019
|
|
11997
12020
|
# Data which is produced for logging and debugging. Servers MUST NOT use this
|
11998
|
-
# for any other purposes, such as branching on it.
|
12021
|
+
# for any other purposes, such as branching on it. Next ID: 14
|
11999
12022
|
# Corresponds to the JSON property `loggingOnlyData`
|
12000
12023
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiLoggingOnlyData]
|
12001
12024
|
attr_accessor :logging_only_data
|
@@ -12033,6 +12056,13 @@ module Google
|
|
12033
12056
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiOutputRestrictions]
|
12034
12057
|
attr_accessor :output_restrictions
|
12035
12058
|
|
12059
|
+
# Capability to support Pop on lockscreen. TODO(b/230626444) this is for short
|
12060
|
+
# term workaround for TNG MA DF. Should be deprecated when long term solution is
|
12061
|
+
# available. go/pop-on-lockscreen-for-tng-ma.
|
12062
|
+
# Corresponds to the JSON property `popOnLockscreenCapability`
|
12063
|
+
# @return [String]
|
12064
|
+
attr_accessor :pop_on_lockscreen_capability
|
12065
|
+
|
12036
12066
|
# Indicates if the client has safety related restriction.
|
12037
12067
|
# Corresponds to the JSON property `safetyRestrictions`
|
12038
12068
|
# @return [String]
|
@@ -12113,6 +12143,7 @@ module Google
|
|
12113
12143
|
@audio_output = args[:audio_output] if args.key?(:audio_output)
|
12114
12144
|
@call_capabilities = args[:call_capabilities] if args.key?(:call_capabilities)
|
12115
12145
|
@camera = args[:camera] if args.key?(:camera)
|
12146
|
+
@car_ux_restrictions = args[:car_ux_restrictions] if args.key?(:car_ux_restrictions)
|
12116
12147
|
@cast = args[:cast] if args.key?(:cast)
|
12117
12148
|
@communication_ui_capabilities = args[:communication_ui_capabilities] if args.key?(:communication_ui_capabilities)
|
12118
12149
|
@contact_lookup_capabilities = args[:contact_lookup_capabilities] if args.key?(:contact_lookup_capabilities)
|
@@ -12128,6 +12159,7 @@ module Google
|
|
12128
12159
|
@notification_capabilities = args[:notification_capabilities] if args.key?(:notification_capabilities)
|
12129
12160
|
@notification_output_restrictions = args[:notification_output_restrictions] if args.key?(:notification_output_restrictions)
|
12130
12161
|
@output_restrictions = args[:output_restrictions] if args.key?(:output_restrictions)
|
12162
|
+
@pop_on_lockscreen_capability = args[:pop_on_lockscreen_capability] if args.key?(:pop_on_lockscreen_capability)
|
12131
12163
|
@safety_restrictions = args[:safety_restrictions] if args.key?(:safety_restrictions)
|
12132
12164
|
@screen = args[:screen] if args.key?(:screen)
|
12133
12165
|
@soda_capabilities = args[:soda_capabilities] if args.key?(:soda_capabilities)
|
@@ -12784,7 +12816,7 @@ module Google
|
|
12784
12816
|
end
|
12785
12817
|
|
12786
12818
|
# Data which is produced for logging and debugging. Servers MUST NOT use this
|
12787
|
-
# for any other purposes, such as branching on it.
|
12819
|
+
# for any other purposes, such as branching on it. Next ID: 14
|
12788
12820
|
class AssistantApiLoggingOnlyData
|
12789
12821
|
include Google::Apis::Core::Hashable
|
12790
12822
|
|
@@ -12794,6 +12826,13 @@ module Google
|
|
12794
12826
|
# @return [String]
|
12795
12827
|
attr_accessor :acp_version
|
12796
12828
|
|
12829
|
+
# Random identifier assigned to Android mobile devices. Older logs may have
|
12830
|
+
# previously stored other kinds of android IDs in this field, but all current
|
12831
|
+
# logs should use the GServices Id. See go/androidids.
|
12832
|
+
# Corresponds to the JSON property `androidId`
|
12833
|
+
# @return [Fixnum]
|
12834
|
+
attr_accessor :android_id
|
12835
|
+
|
12797
12836
|
# A user-readable string describing the version of the client app used by the
|
12798
12837
|
# user to originate the conversation.
|
12799
12838
|
# Corresponds to the JSON property `appVersion`
|
@@ -12864,6 +12903,7 @@ module Google
|
|
12864
12903
|
# Update properties of this object
|
12865
12904
|
def update!(**args)
|
12866
12905
|
@acp_version = args[:acp_version] if args.key?(:acp_version)
|
12906
|
+
@android_id = args[:android_id] if args.key?(:android_id)
|
12867
12907
|
@app_version = args[:app_version] if args.key?(:app_version)
|
12868
12908
|
@assistant_settings_source = args[:assistant_settings_source] if args.key?(:assistant_settings_source)
|
12869
12909
|
@board_name = args[:board_name] if args.key?(:board_name)
|
@@ -13981,7 +14021,7 @@ module Google
|
|
13981
14021
|
# enum. A surface's capabilities can differ from the device's. An example would
|
13982
14022
|
# be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
|
13983
14023
|
# Pixel does. In this case, audio_input will be set to false for Assistant Allo
|
13984
|
-
# requests while it might be set to true for OPA_NEXUS requests. Next ID:
|
14024
|
+
# requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
|
13985
14025
|
# Corresponds to the JSON property `capabilities`
|
13986
14026
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiDeviceCapabilities]
|
13987
14027
|
attr_accessor :capabilities
|
@@ -17781,6 +17821,19 @@ module Google
|
|
17781
17821
|
end
|
17782
17822
|
end
|
17783
17823
|
|
17824
|
+
#
|
17825
|
+
class AssistantDevicesPlatformProtoDeviceTakePhotoCapability
|
17826
|
+
include Google::Apis::Core::Hashable
|
17827
|
+
|
17828
|
+
def initialize(**args)
|
17829
|
+
update!(**args)
|
17830
|
+
end
|
17831
|
+
|
17832
|
+
# Update properties of this object
|
17833
|
+
def update!(**args)
|
17834
|
+
end
|
17835
|
+
end
|
17836
|
+
|
17784
17837
|
# Specifies the routing capabilities of the Intent. It will apply only when the
|
17785
17838
|
# Intent is triggered. Next ID: 8
|
17786
17839
|
class AssistantDevicesPlatformProtoExecutionConfig
|
@@ -18367,6 +18420,13 @@ module Google
|
|
18367
18420
|
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceModifySettingCapability]
|
18368
18421
|
attr_accessor :device_modify_setting
|
18369
18422
|
|
18423
|
+
# [device_take_photo] specifies the support for the device.TAKE_PHOTO clientop,
|
18424
|
+
# and the corresponding device_take_photo field in assistant.embedded.v1.
|
18425
|
+
# DeviceOp.
|
18426
|
+
# Corresponds to the JSON property `deviceTakePhoto`
|
18427
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceTakePhotoCapability]
|
18428
|
+
attr_accessor :device_take_photo
|
18429
|
+
|
18370
18430
|
#
|
18371
18431
|
# Corresponds to the JSON property `mediaNext`
|
18372
18432
|
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaNextCapability]
|
@@ -18419,6 +18479,7 @@ module Google
|
|
18419
18479
|
@call_call = args[:call_call] if args.key?(:call_call)
|
18420
18480
|
@client_reconnect = args[:client_reconnect] if args.key?(:client_reconnect)
|
18421
18481
|
@device_modify_setting = args[:device_modify_setting] if args.key?(:device_modify_setting)
|
18482
|
+
@device_take_photo = args[:device_take_photo] if args.key?(:device_take_photo)
|
18422
18483
|
@media_next = args[:media_next] if args.key?(:media_next)
|
18423
18484
|
@media_pause = args[:media_pause] if args.key?(:media_pause)
|
18424
18485
|
@media_play_media = args[:media_play_media] if args.key?(:media_play_media)
|
@@ -18538,6 +18599,147 @@ module Google
|
|
18538
18599
|
end
|
18539
18600
|
end
|
18540
18601
|
|
18602
|
+
# Features to be passed from Contact GP to HGR. Next ID: 13
|
18603
|
+
class AssistantGroundingRankerContactGroundingProviderFeatures
|
18604
|
+
include Google::Apis::Core::Hashable
|
18605
|
+
|
18606
|
+
# Concept id for relationships in English, e.g. "Mother" for all non-English
|
18607
|
+
# locales. It's only populated for source = RELATIONSHIP.
|
18608
|
+
# Corresponds to the JSON property `conceptId`
|
18609
|
+
# @return [String]
|
18610
|
+
attr_accessor :concept_id
|
18611
|
+
|
18612
|
+
#
|
18613
|
+
# Corresponds to the JSON property `contactSource`
|
18614
|
+
# @return [String]
|
18615
|
+
attr_accessor :contact_source
|
18616
|
+
|
18617
|
+
# Whether the query is a relationship query based on the annotation source.
|
18618
|
+
# Corresponds to the JSON property `isRelationshipFromAnnotation`
|
18619
|
+
# @return [Boolean]
|
18620
|
+
attr_accessor :is_relationship_from_annotation
|
18621
|
+
alias_method :is_relationship_from_annotation?, :is_relationship_from_annotation
|
18622
|
+
|
18623
|
+
# Whether the contact has relationship in the contact metadata.
|
18624
|
+
# Corresponds to the JSON property `isRelationshipFromSource`
|
18625
|
+
# @return [Boolean]
|
18626
|
+
attr_accessor :is_relationship_from_source
|
18627
|
+
alias_method :is_relationship_from_source?, :is_relationship_from_source
|
18628
|
+
|
18629
|
+
# Whether only populates a single candidate.
|
18630
|
+
# Corresponds to the JSON property `isSingleCandidate`
|
18631
|
+
# @return [Boolean]
|
18632
|
+
attr_accessor :is_single_candidate
|
18633
|
+
alias_method :is_single_candidate?, :is_single_candidate
|
18634
|
+
|
18635
|
+
# Whether the contact is starred contact.
|
18636
|
+
# Corresponds to the JSON property `isStarred`
|
18637
|
+
# @return [Boolean]
|
18638
|
+
attr_accessor :is_starred
|
18639
|
+
alias_method :is_starred?, :is_starred
|
18640
|
+
|
18641
|
+
#
|
18642
|
+
# Corresponds to the JSON property `matchedNameType`
|
18643
|
+
# @return [String]
|
18644
|
+
attr_accessor :matched_name_type
|
18645
|
+
|
18646
|
+
# Number of alternate contact names from fuzzy contact match.
|
18647
|
+
# Corresponds to the JSON property `numAlternateNameFromFuzzyContactMatch`
|
18648
|
+
# @return [Float]
|
18649
|
+
attr_accessor :num_alternate_name_from_fuzzy_contact_match
|
18650
|
+
|
18651
|
+
# Number of alternate contact names from S3_HYPOTHESES.
|
18652
|
+
# Corresponds to the JSON property `numAlternateNamesFromS3`
|
18653
|
+
# @return [Float]
|
18654
|
+
attr_accessor :num_alternate_names_from_s3
|
18655
|
+
|
18656
|
+
# Number of alternate contact names from interpretation.
|
18657
|
+
# Corresponds to the JSON property `numAlternativeNamesFromInterpretation`
|
18658
|
+
# @return [Float]
|
18659
|
+
attr_accessor :num_alternative_names_from_interpretation
|
18660
|
+
|
18661
|
+
# Number of contacts populated by the contact Grounding Provider.
|
18662
|
+
# Corresponds to the JSON property `numCandidates`
|
18663
|
+
# @return [Float]
|
18664
|
+
attr_accessor :num_candidates
|
18665
|
+
|
18666
|
+
#
|
18667
|
+
# Corresponds to the JSON property `recognitionAlternateSource`
|
18668
|
+
# @return [String]
|
18669
|
+
attr_accessor :recognition_alternate_source
|
18670
|
+
|
18671
|
+
def initialize(**args)
|
18672
|
+
update!(**args)
|
18673
|
+
end
|
18674
|
+
|
18675
|
+
# Update properties of this object
|
18676
|
+
def update!(**args)
|
18677
|
+
@concept_id = args[:concept_id] if args.key?(:concept_id)
|
18678
|
+
@contact_source = args[:contact_source] if args.key?(:contact_source)
|
18679
|
+
@is_relationship_from_annotation = args[:is_relationship_from_annotation] if args.key?(:is_relationship_from_annotation)
|
18680
|
+
@is_relationship_from_source = args[:is_relationship_from_source] if args.key?(:is_relationship_from_source)
|
18681
|
+
@is_single_candidate = args[:is_single_candidate] if args.key?(:is_single_candidate)
|
18682
|
+
@is_starred = args[:is_starred] if args.key?(:is_starred)
|
18683
|
+
@matched_name_type = args[:matched_name_type] if args.key?(:matched_name_type)
|
18684
|
+
@num_alternate_name_from_fuzzy_contact_match = args[:num_alternate_name_from_fuzzy_contact_match] if args.key?(:num_alternate_name_from_fuzzy_contact_match)
|
18685
|
+
@num_alternate_names_from_s3 = args[:num_alternate_names_from_s3] if args.key?(:num_alternate_names_from_s3)
|
18686
|
+
@num_alternative_names_from_interpretation = args[:num_alternative_names_from_interpretation] if args.key?(:num_alternative_names_from_interpretation)
|
18687
|
+
@num_candidates = args[:num_candidates] if args.key?(:num_candidates)
|
18688
|
+
@recognition_alternate_source = args[:recognition_alternate_source] if args.key?(:recognition_alternate_source)
|
18689
|
+
end
|
18690
|
+
end
|
18691
|
+
|
18692
|
+
# Next ID: 3
|
18693
|
+
class AssistantGroundingRankerGroundingProviderFeatures
|
18694
|
+
include Google::Apis::Core::Hashable
|
18695
|
+
|
18696
|
+
# Features to be passed from Contact GP to HGR. Next ID: 13
|
18697
|
+
# Corresponds to the JSON property `contactGroundingProviderFeatures`
|
18698
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
|
18699
|
+
attr_accessor :contact_grounding_provider_features
|
18700
|
+
|
18701
|
+
# Features to be passed from Media GP to HGR. Next ID: 2
|
18702
|
+
# Corresponds to the JSON property `mediaGroundingProviderFeatures`
|
18703
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
|
18704
|
+
attr_accessor :media_grounding_provider_features
|
18705
|
+
|
18706
|
+
def initialize(**args)
|
18707
|
+
update!(**args)
|
18708
|
+
end
|
18709
|
+
|
18710
|
+
# Update properties of this object
|
18711
|
+
def update!(**args)
|
18712
|
+
@contact_grounding_provider_features = args[:contact_grounding_provider_features] if args.key?(:contact_grounding_provider_features)
|
18713
|
+
@media_grounding_provider_features = args[:media_grounding_provider_features] if args.key?(:media_grounding_provider_features)
|
18714
|
+
end
|
18715
|
+
end
|
18716
|
+
|
18717
|
+
# Features to be passed from Media GP to HGR. Next ID: 2
|
18718
|
+
class AssistantGroundingRankerMediaGroundingProviderFeatures
|
18719
|
+
include Google::Apis::Core::Hashable
|
18720
|
+
|
18721
|
+
# MSC(Media Short Click) rate. MSC rate = total number of MSC events / total
|
18722
|
+
# number of MSC candidates The event is considered as MSC candidate if the event
|
18723
|
+
# is a media seeking query(excluding follow-ons) and the media result is
|
18724
|
+
# successfully fulfilled. The event is MSC event if any of the following is in
|
18725
|
+
# the following queries within 30 secs: FOLLOWED_BY_DUPLICATE
|
18726
|
+
# FOLLOWED_BY_ADD_OR_DELETE_MANUAL_REFINEMENT FOLLOWED_BY_SAME_VERTICAL (MEDIA)
|
18727
|
+
# FOLLOWED_BY_STOP More details: go/media-ranking, go/billboard-navboost, go/
|
18728
|
+
# magma-music-actions-efrac
|
18729
|
+
# Corresponds to the JSON property `mscRate`
|
18730
|
+
# @return [Float]
|
18731
|
+
attr_accessor :msc_rate
|
18732
|
+
|
18733
|
+
def initialize(**args)
|
18734
|
+
update!(**args)
|
18735
|
+
end
|
18736
|
+
|
18737
|
+
# Update properties of this object
|
18738
|
+
def update!(**args)
|
18739
|
+
@msc_rate = args[:msc_rate] if args.key?(:msc_rate)
|
18740
|
+
end
|
18741
|
+
end
|
18742
|
+
|
18541
18743
|
#
|
18542
18744
|
class AssistantLogsAllMediaStreamLog
|
18543
18745
|
include Google::Apis::Core::Hashable
|
@@ -19132,6 +19334,13 @@ module Google
|
|
19132
19334
|
# @return [String]
|
19133
19335
|
attr_accessor :device_id
|
19134
19336
|
|
19337
|
+
# The logging-version of DeviceId proto, which identifies a device. This mirrors
|
19338
|
+
# cs/google3/assistant/api/core_types/device_type.proto?q=symbol:DeviceId Next
|
19339
|
+
# ID: 6
|
19340
|
+
# Corresponds to the JSON property `deviceIdLog`
|
19341
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantLogsSettingsDeviceIdLog]
|
19342
|
+
attr_accessor :device_id_log
|
19343
|
+
|
19135
19344
|
# We index linked devices and log these index to avoid logging device_id.
|
19136
19345
|
# device_index should always be a positive number or -1. -1 means this device is
|
19137
19346
|
# not in homegraph.
|
@@ -19206,6 +19415,7 @@ module Google
|
|
19206
19415
|
@arbitration_device_id = args[:arbitration_device_id] if args.key?(:arbitration_device_id)
|
19207
19416
|
@connectivity = args[:connectivity] if args.key?(:connectivity)
|
19208
19417
|
@device_id = args[:device_id] if args.key?(:device_id)
|
19418
|
+
@device_id_log = args[:device_id_log] if args.key?(:device_id_log)
|
19209
19419
|
@device_index = args[:device_index] if args.key?(:device_index)
|
19210
19420
|
@device_model_id = args[:device_model_id] if args.key?(:device_model_id)
|
19211
19421
|
@distance = args[:distance] if args.key?(:distance)
|
@@ -19458,7 +19668,7 @@ module Google
|
|
19458
19668
|
attr_accessor :single_target_device
|
19459
19669
|
|
19460
19670
|
# Represents the case where the library successfully selects the target device.
|
19461
|
-
# It could be one or multiple devices. Next ID:
|
19671
|
+
# It could be one or multiple devices. Next ID: 4
|
19462
19672
|
# Corresponds to the JSON property `targetDevice`
|
19463
19673
|
# @return [Google::Apis::ContentwarehouseV1::AssistantLogsTargetDeviceLog]
|
19464
19674
|
attr_accessor :target_device
|
@@ -19957,6 +20167,68 @@ module Google
|
|
19957
20167
|
end
|
19958
20168
|
end
|
19959
20169
|
|
20170
|
+
# The logging-version of DeviceId proto, which identifies a device. This mirrors
|
20171
|
+
# cs/google3/assistant/api/core_types/device_type.proto?q=symbol:DeviceId Next
|
20172
|
+
# ID: 6
|
20173
|
+
class AssistantLogsSettingsDeviceIdLog
|
20174
|
+
include Google::Apis::Core::Hashable
|
20175
|
+
|
20176
|
+
# The client_instance_id on devices with GSA. See 'client_instance_field' in go/
|
20177
|
+
# androidids.
|
20178
|
+
# Corresponds to the JSON property `agsaClientInstanceId`
|
20179
|
+
# @return [String]
|
20180
|
+
attr_accessor :agsa_client_instance_id
|
20181
|
+
|
20182
|
+
# A unique device ID for Assistant devices as proposed by go/ocelot-team.
|
20183
|
+
# Corresponds to the JSON property `canonicalDeviceId`
|
20184
|
+
# @return [String]
|
20185
|
+
attr_accessor :canonical_device_id
|
20186
|
+
|
20187
|
+
# If set, indicates that the device is a cast device, and contains the UUID of
|
20188
|
+
# the cast device. Corresponds to the device_id field of the CastDevice proto.
|
20189
|
+
# Corresponds to the JSON property `castDeviceId`
|
20190
|
+
# @return [String]
|
20191
|
+
attr_accessor :cast_device_id
|
20192
|
+
|
20193
|
+
# DUSI (go/dusi) is used as the identifier here. This identifier is unique to
|
20194
|
+
# the user and device. This will help identify which device or application the
|
20195
|
+
# user's request originated from. This is not to be confused with the
|
20196
|
+
# client_instance_id that android devices provide. This is currently used by
|
20197
|
+
# surfaces that use the assistant-legacy-nexus and assistant-legacy-clockwork
|
20198
|
+
# pipelines. DUSI is created and set in S3. This field is only filled for GAIA
|
20199
|
+
# requests.
|
20200
|
+
# Corresponds to the JSON property `clientInstanceId`
|
20201
|
+
# @return [String]
|
20202
|
+
attr_accessor :client_instance_id
|
20203
|
+
|
20204
|
+
# The unique device ID for HomeGraph devices. This is the HomeGraph ID, created
|
20205
|
+
# when the device is registered into HomeGraph. It is immutable for the same
|
20206
|
+
# device unless it is completely deleted and recreated. See go/home-graph for
|
20207
|
+
# details. `
|
20208
|
+
# Corresponds to the JSON property `homeGraphDeviceId`
|
20209
|
+
# @return [String]
|
20210
|
+
attr_accessor :home_graph_device_id
|
20211
|
+
|
20212
|
+
# The unique ID for libassistant based devices.
|
20213
|
+
# Corresponds to the JSON property `libassistantDeviceId`
|
20214
|
+
# @return [String]
|
20215
|
+
attr_accessor :libassistant_device_id
|
20216
|
+
|
20217
|
+
def initialize(**args)
|
20218
|
+
update!(**args)
|
20219
|
+
end
|
20220
|
+
|
20221
|
+
# Update properties of this object
|
20222
|
+
def update!(**args)
|
20223
|
+
@agsa_client_instance_id = args[:agsa_client_instance_id] if args.key?(:agsa_client_instance_id)
|
20224
|
+
@canonical_device_id = args[:canonical_device_id] if args.key?(:canonical_device_id)
|
20225
|
+
@cast_device_id = args[:cast_device_id] if args.key?(:cast_device_id)
|
20226
|
+
@client_instance_id = args[:client_instance_id] if args.key?(:client_instance_id)
|
20227
|
+
@home_graph_device_id = args[:home_graph_device_id] if args.key?(:home_graph_device_id)
|
20228
|
+
@libassistant_device_id = args[:libassistant_device_id] if args.key?(:libassistant_device_id)
|
20229
|
+
end
|
20230
|
+
end
|
20231
|
+
|
19960
20232
|
# Structure annotation mentioned in query.
|
19961
20233
|
class AssistantLogsStructureAnnotationLog
|
19962
20234
|
include Google::Apis::Core::Hashable
|
@@ -19989,7 +20261,7 @@ module Google
|
|
19989
20261
|
end
|
19990
20262
|
|
19991
20263
|
# Represents the case where the library successfully selects the target device.
|
19992
|
-
# It could be one or multiple devices. Next ID:
|
20264
|
+
# It could be one or multiple devices. Next ID: 4
|
19993
20265
|
class AssistantLogsTargetDeviceLog
|
19994
20266
|
include Google::Apis::Core::Hashable
|
19995
20267
|
|
@@ -19998,6 +20270,11 @@ module Google
|
|
19998
20270
|
# @return [Array<Google::Apis::ContentwarehouseV1::AssistantLogsDeviceInfoLog>]
|
19999
20271
|
attr_accessor :devices
|
20000
20272
|
|
20273
|
+
#
|
20274
|
+
# Corresponds to the JSON property `lowConfidenceReason`
|
20275
|
+
# @return [String]
|
20276
|
+
attr_accessor :low_confidence_reason
|
20277
|
+
|
20001
20278
|
#
|
20002
20279
|
# Corresponds to the JSON property `resultConfidenceLevel`
|
20003
20280
|
# @return [String]
|
@@ -20010,27 +20287,27 @@ module Google
|
|
20010
20287
|
# Update properties of this object
|
20011
20288
|
def update!(**args)
|
20012
20289
|
@devices = args[:devices] if args.key?(:devices)
|
20290
|
+
@low_confidence_reason = args[:low_confidence_reason] if args.key?(:low_confidence_reason)
|
20013
20291
|
@result_confidence_level = args[:result_confidence_level] if args.key?(:result_confidence_level)
|
20014
20292
|
end
|
20015
20293
|
end
|
20016
20294
|
|
20017
20295
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
20018
20296
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
20019
|
-
# Next ID:
|
20297
|
+
# Next ID: 30
|
20020
20298
|
class AssistantPrefulfillmentRankerPrefulfillmentSignals
|
20021
20299
|
include Google::Apis::Core::Hashable
|
20022
20300
|
|
20301
|
+
# Assistant User Interaction Score for binding set.
|
20302
|
+
# Corresponds to the JSON property `bindingSetAuis`
|
20303
|
+
# @return [Float]
|
20304
|
+
attr_accessor :binding_set_auis
|
20305
|
+
|
20023
20306
|
# A parsing score that is independently calibrated by each parser/IG.
|
20024
20307
|
# Corresponds to the JSON property `calibratedParsingScore`
|
20025
20308
|
# @return [Float]
|
20026
20309
|
attr_accessor :calibrated_parsing_score
|
20027
20310
|
|
20028
|
-
# Same semantics as 'calibrated_parsing_score' but in float form. Some RL models
|
20029
|
-
# (such as decision tree) doesn't consume double input well.
|
20030
|
-
# Corresponds to the JSON property `calibratedParsingScoreFloat`
|
20031
|
-
# @return [Float]
|
20032
|
-
attr_accessor :calibrated_parsing_score_float
|
20033
|
-
|
20034
20311
|
# Indicates interpretation dominance predicted by KScorer
|
20035
20312
|
# Corresponds to the JSON property `dominant`
|
20036
20313
|
# @return [Boolean]
|
@@ -20052,6 +20329,11 @@ module Google
|
|
20052
20329
|
# @return [Float]
|
20053
20330
|
attr_accessor :groundability_score
|
20054
20331
|
|
20332
|
+
# Next ID: 3
|
20333
|
+
# Corresponds to the JSON property `groundingProviderFeatures`
|
20334
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
|
20335
|
+
attr_accessor :grounding_provider_features
|
20336
|
+
|
20055
20337
|
# This is a cross-intent feature which is calculated by iterating all intent
|
20056
20338
|
# candidates. This feature should be populated in post-IG stage (before GB).
|
20057
20339
|
# Corresponds to the JSON property `inQueryMaxEffectiveArgSpanLength`
|
@@ -20084,18 +20366,17 @@ module Google
|
|
20084
20366
|
attr_accessor :mask_candidate_level_features
|
20085
20367
|
alias_method :mask_candidate_level_features?, :mask_candidate_level_features
|
20086
20368
|
|
20369
|
+
# Number of alternative hypotheses from speech recognition(S3).
|
20370
|
+
# Corresponds to the JSON property `numAlternativeHypothesis`
|
20371
|
+
# @return [Float]
|
20372
|
+
attr_accessor :num_alternative_hypothesis
|
20373
|
+
|
20087
20374
|
# Sum of the number of constraints used by the Grounding Box to ground each
|
20088
20375
|
# variable.
|
20089
20376
|
# Corresponds to the JSON property `numConstraints`
|
20090
20377
|
# @return [Float]
|
20091
20378
|
attr_accessor :num_constraints
|
20092
20379
|
|
20093
|
-
# Same semantics as 'num_constraints' but in float form. Some RL models (such as
|
20094
|
-
# decision tree) doesn't consume double input well.
|
20095
|
-
# Corresponds to the JSON property `numConstraintsFloat`
|
20096
|
-
# @return [Float]
|
20097
|
-
attr_accessor :num_constraints_float
|
20098
|
-
|
20099
20380
|
# Sum of the number of constraints satisfied for each variable. Depending on the
|
20100
20381
|
# match score for a constraint, this number can be fractional and is in the
|
20101
20382
|
# range [0, num_constraints]. Populated by the Grounding Box.
|
@@ -20103,58 +20384,28 @@ module Google
|
|
20103
20384
|
# @return [Float]
|
20104
20385
|
attr_accessor :num_constraints_satisfied
|
20105
20386
|
|
20106
|
-
# Same semantics as 'num_constraints_satisfied' but in float form. Some RL
|
20107
|
-
# models (such as decision tree) doesn't consume double input well.
|
20108
|
-
# Corresponds to the JSON property `numConstraintsSatisfiedFloat`
|
20109
|
-
# @return [Float]
|
20110
|
-
attr_accessor :num_constraints_satisfied_float
|
20111
|
-
|
20112
20387
|
# Number of groundable arguments the intent has, populated by the Grounding Box.
|
20113
20388
|
# Corresponds to the JSON property `numGroundableArgs`
|
20114
20389
|
# @return [Float]
|
20115
20390
|
attr_accessor :num_groundable_args
|
20116
20391
|
|
20117
|
-
# Same semantics as 'num_groundable_args' but in float form. Some RL models (
|
20118
|
-
# such as decision tree) doesn't consume double input well.
|
20119
|
-
# Corresponds to the JSON property `numGroundableArgsFloat`
|
20120
|
-
# @return [Float]
|
20121
|
-
attr_accessor :num_groundable_args_float
|
20122
|
-
|
20123
20392
|
# Number of grounded arguments the intent has, populated by the Grounding Box.
|
20124
20393
|
# Corresponds to the JSON property `numGroundedArgs`
|
20125
20394
|
# @return [Float]
|
20126
20395
|
attr_accessor :num_grounded_args
|
20127
20396
|
|
20128
|
-
# Same semantics as 'num_grounded_args' but in float form. Some RL models (such
|
20129
|
-
# as decision tree) doesn't consume double input well.
|
20130
|
-
# Corresponds to the JSON property `numGroundedArgsFloat`
|
20131
|
-
# @return [Float]
|
20132
|
-
attr_accessor :num_grounded_args_float
|
20133
|
-
|
20134
20397
|
# Signals as proposed in go/improved-grounding-signals. Number of arguments,
|
20135
20398
|
# possibly nested, that the Grounding Box tried to ground.
|
20136
20399
|
# Corresponds to the JSON property `numVariables`
|
20137
20400
|
# @return [Float]
|
20138
20401
|
attr_accessor :num_variables
|
20139
20402
|
|
20140
|
-
# Same semantics as 'num_variables' but in float form. Some RL models (such as
|
20141
|
-
# decision tree) doesn't consume double input well.
|
20142
|
-
# Corresponds to the JSON property `numVariablesFloat`
|
20143
|
-
# @return [Float]
|
20144
|
-
attr_accessor :num_variables_float
|
20145
|
-
|
20146
20403
|
# Number of arguments, possibly nested, that the Grounding Box was able to
|
20147
20404
|
# ground. This includes ambiguously grounded arguments.
|
20148
20405
|
# Corresponds to the JSON property `numVariablesGrounded`
|
20149
20406
|
# @return [Float]
|
20150
20407
|
attr_accessor :num_variables_grounded
|
20151
20408
|
|
20152
|
-
# Same semantics as 'num_variables_grounded' but in float form. Some RL models (
|
20153
|
-
# such as decision tree) doesn't consume double input well.
|
20154
|
-
# Corresponds to the JSON property `numVariablesGroundedFloat`
|
20155
|
-
# @return [Float]
|
20156
|
-
attr_accessor :num_variables_grounded_float
|
20157
|
-
|
20158
20409
|
# Cosine similarity between predicted query-to-term model and assistant intent-
|
20159
20410
|
# type-based salient terms. This is intended to be only used for ACE ranking and
|
20160
20411
|
# only populated for assistant traffic.
|
@@ -20169,36 +20420,47 @@ module Google
|
|
20169
20420
|
# @return [Float]
|
20170
20421
|
attr_accessor :pq2t_vs_ibst_cosine
|
20171
20422
|
|
20423
|
+
# Average of per-word confidence for top speech recognition hypothesis. The
|
20424
|
+
# value is from RecognizerHypothesisLog: http://google3/logs/proto/speech/
|
20425
|
+
# service/recognizer_log.proto?l=848&rcl=281400256
|
20426
|
+
# Corresponds to the JSON property `topHypothesisConfidence`
|
20427
|
+
# @return [Float]
|
20428
|
+
attr_accessor :top_hypothesis_confidence
|
20429
|
+
|
20430
|
+
# Horizontal feature that stores information about confidence scores for each
|
20431
|
+
# resolution within the binding set.
|
20432
|
+
# Corresponds to the JSON property `verticalConfidenceScore`
|
20433
|
+
# @return [Float]
|
20434
|
+
attr_accessor :vertical_confidence_score
|
20435
|
+
|
20172
20436
|
def initialize(**args)
|
20173
20437
|
update!(**args)
|
20174
20438
|
end
|
20175
20439
|
|
20176
20440
|
# Update properties of this object
|
20177
20441
|
def update!(**args)
|
20442
|
+
@binding_set_auis = args[:binding_set_auis] if args.key?(:binding_set_auis)
|
20178
20443
|
@calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
|
20179
|
-
@calibrated_parsing_score_float = args[:calibrated_parsing_score_float] if args.key?(:calibrated_parsing_score_float)
|
20180
20444
|
@dominant = args[:dominant] if args.key?(:dominant)
|
20181
20445
|
@effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
|
20182
20446
|
@groundability_score = args[:groundability_score] if args.key?(:groundability_score)
|
20447
|
+
@grounding_provider_features = args[:grounding_provider_features] if args.key?(:grounding_provider_features)
|
20183
20448
|
@in_query_max_effective_arg_span_length = args[:in_query_max_effective_arg_span_length] if args.key?(:in_query_max_effective_arg_span_length)
|
20184
20449
|
@intent_name = args[:intent_name] if args.key?(:intent_name)
|
20185
20450
|
@intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
|
20186
20451
|
@intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
|
20187
20452
|
@mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
|
20453
|
+
@num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
|
20188
20454
|
@num_constraints = args[:num_constraints] if args.key?(:num_constraints)
|
20189
|
-
@num_constraints_float = args[:num_constraints_float] if args.key?(:num_constraints_float)
|
20190
20455
|
@num_constraints_satisfied = args[:num_constraints_satisfied] if args.key?(:num_constraints_satisfied)
|
20191
|
-
@num_constraints_satisfied_float = args[:num_constraints_satisfied_float] if args.key?(:num_constraints_satisfied_float)
|
20192
20456
|
@num_groundable_args = args[:num_groundable_args] if args.key?(:num_groundable_args)
|
20193
|
-
@num_groundable_args_float = args[:num_groundable_args_float] if args.key?(:num_groundable_args_float)
|
20194
20457
|
@num_grounded_args = args[:num_grounded_args] if args.key?(:num_grounded_args)
|
20195
|
-
@num_grounded_args_float = args[:num_grounded_args_float] if args.key?(:num_grounded_args_float)
|
20196
20458
|
@num_variables = args[:num_variables] if args.key?(:num_variables)
|
20197
|
-
@num_variables_float = args[:num_variables_float] if args.key?(:num_variables_float)
|
20198
20459
|
@num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
|
20199
|
-
@num_variables_grounded_float = args[:num_variables_grounded_float] if args.key?(:num_variables_grounded_float)
|
20200
20460
|
@pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
|
20201
20461
|
@pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
|
20462
|
+
@top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
|
20463
|
+
@vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
|
20202
20464
|
end
|
20203
20465
|
end
|
20204
20466
|
|
@@ -22855,7 +23117,7 @@ module Google
|
|
22855
23117
|
# each field in CompositeDoc mean and who should I contact if I have questions?
|
22856
23118
|
# To add a new field into CompositeDoc, or change existing field's size
|
22857
23119
|
# significantly, please file a ticket at go/dj-new-field, fill in necessary
|
22858
|
-
# information and get approved by docjoin-access@ team. Next id:
|
23120
|
+
# information and get approved by docjoin-access@ team. Next id: 191
|
22859
23121
|
class CompositeDoc
|
22860
23122
|
include Google::Apis::Core::Hashable
|
22861
23123
|
|
@@ -22983,6 +23245,12 @@ module Google
|
|
22983
23245
|
# @return [Array<Google::Apis::ContentwarehouseV1::CompositeDocIncludedContent>]
|
22984
23246
|
attr_accessor :includedcontent
|
22985
23247
|
|
23248
|
+
# Serialized indexing intermediate data.
|
23249
|
+
# Corresponds to the JSON property `indexingIntermediate`
|
23250
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
23251
|
+
# @return [String]
|
23252
|
+
attr_accessor :indexing_intermediate
|
23253
|
+
|
22986
23254
|
# Contains information *mostly* used within indexing (e.g. not used for building
|
22987
23255
|
# the production serving shards). Most of this data is generated only in
|
22988
23256
|
# Alexandria, however there are exceptions.
|
@@ -23023,11 +23291,6 @@ module Google
|
|
23023
23291
|
# @return [Google::Apis::ContentwarehouseV1::CompositeDocLocalizedVariations]
|
23024
23292
|
attr_accessor :localizedvariations
|
23025
23293
|
|
23026
|
-
# Manybox container message
|
23027
|
-
# Corresponds to the JSON property `manyboxData`
|
23028
|
-
# @return [Google::Apis::ContentwarehouseV1::ManyboxData]
|
23029
|
-
attr_accessor :manybox_data
|
23030
|
-
|
23031
23294
|
# Contains information about the partial updates present in a partial
|
23032
23295
|
# CompositeDoc.
|
23033
23296
|
# Corresponds to the JSON property `partialUpdateInfo`
|
@@ -23068,9 +23331,9 @@ module Google
|
|
23068
23331
|
# @return [Google::Apis::ContentwarehouseV1::PtokenPToken]
|
23069
23332
|
attr_accessor :ptoken
|
23070
23333
|
|
23071
|
-
# This
|
23072
|
-
#
|
23073
|
-
#
|
23334
|
+
# Note: This is a misleading name as of 2022/10/14. The field is still set and
|
23335
|
+
# has meaningful data, but no longer holds quality signals. All the data are
|
23336
|
+
# freshness-related and they're not particularly sensitive.
|
23074
23337
|
# Corresponds to the JSON property `qualitysignals`
|
23075
23338
|
# @return [Google::Apis::ContentwarehouseV1::CompositeDocQualitySignals]
|
23076
23339
|
attr_accessor :qualitysignals
|
@@ -23167,13 +23430,13 @@ module Google
|
|
23167
23430
|
@extradup = args[:extradup] if args.key?(:extradup)
|
23168
23431
|
@forwardingdup = args[:forwardingdup] if args.key?(:forwardingdup)
|
23169
23432
|
@includedcontent = args[:includedcontent] if args.key?(:includedcontent)
|
23433
|
+
@indexing_intermediate = args[:indexing_intermediate] if args.key?(:indexing_intermediate)
|
23170
23434
|
@indexinginfo = args[:indexinginfo] if args.key?(:indexinginfo)
|
23171
23435
|
@label_data = args[:label_data] if args.key?(:label_data)
|
23172
23436
|
@liveexperimentinfo = args[:liveexperimentinfo] if args.key?(:liveexperimentinfo)
|
23173
23437
|
@localinfo = args[:localinfo] if args.key?(:localinfo)
|
23174
23438
|
@localized_alternate_name = args[:localized_alternate_name] if args.key?(:localized_alternate_name)
|
23175
23439
|
@localizedvariations = args[:localizedvariations] if args.key?(:localizedvariations)
|
23176
|
-
@manybox_data = args[:manybox_data] if args.key?(:manybox_data)
|
23177
23440
|
@partial_update_info = args[:partial_update_info] if args.key?(:partial_update_info)
|
23178
23441
|
@per_doc_data = args[:per_doc_data] if args.key?(:per_doc_data)
|
23179
23442
|
@porninfo = args[:porninfo] if args.key?(:porninfo)
|
@@ -23659,7 +23922,7 @@ module Google
|
|
23659
23922
|
# each field in CompositeDoc mean and who should I contact if I have questions?
|
23660
23923
|
# To add a new field into CompositeDoc, or change existing field's size
|
23661
23924
|
# significantly, please file a ticket at go/dj-new-field, fill in necessary
|
23662
|
-
# information and get approved by docjoin-access@ team. Next id:
|
23925
|
+
# information and get approved by docjoin-access@ team. Next id: 191
|
23663
23926
|
# Corresponds to the JSON property `partialCdoc`
|
23664
23927
|
# @return [Google::Apis::ContentwarehouseV1::CompositeDoc]
|
23665
23928
|
attr_accessor :partial_cdoc
|
@@ -23777,9 +24040,9 @@ module Google
|
|
23777
24040
|
end
|
23778
24041
|
end
|
23779
24042
|
|
23780
|
-
# This
|
23781
|
-
#
|
23782
|
-
#
|
24043
|
+
# Note: This is a misleading name as of 2022/10/14. The field is still set and
|
24044
|
+
# has meaningful data, but no longer holds quality signals. All the data are
|
24045
|
+
# freshness-related and they're not particularly sensitive.
|
23783
24046
|
class CompositeDocQualitySignals
|
23784
24047
|
include Google::Apis::Core::Hashable
|
23785
24048
|
|
@@ -24000,7 +24263,7 @@ module Google
|
|
24000
24263
|
# @return [Fixnum]
|
24001
24264
|
attr_accessor :pq_data
|
24002
24265
|
|
24003
|
-
#
|
24266
|
+
# Next id: 17
|
24004
24267
|
# Corresponds to the JSON property `pqDataProto`
|
24005
24268
|
# @return [Google::Apis::ContentwarehouseV1::QualityNsrPqData]
|
24006
24269
|
attr_accessor :pq_data_proto
|
@@ -31298,6 +31561,12 @@ module Google
|
|
31298
31561
|
# @return [String]
|
31299
31562
|
attr_accessor :core_version_token
|
31300
31563
|
|
31564
|
+
# Metadata to track feature derivations and replacements. This is used to track
|
31565
|
+
# feature provenance (particularly for road segments).
|
31566
|
+
# Corresponds to the JSON property `featureReplacementInfo`
|
31567
|
+
# @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureReplacementInfoProto]
|
31568
|
+
attr_accessor :feature_replacement_info
|
31569
|
+
|
31301
31570
|
# Provenance information for sub-fields of this feature.
|
31302
31571
|
# Corresponds to the JSON property `fieldMetadata`
|
31303
31572
|
# @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureFieldMetadataProto]
|
@@ -31334,6 +31603,7 @@ module Google
|
|
31334
31603
|
def update!(**args)
|
31335
31604
|
@bulk_updatable = args[:bulk_updatable] if args.key?(:bulk_updatable)
|
31336
31605
|
@core_version_token = args[:core_version_token] if args.key?(:core_version_token)
|
31606
|
+
@feature_replacement_info = args[:feature_replacement_info] if args.key?(:feature_replacement_info)
|
31337
31607
|
@field_metadata = args[:field_metadata] if args.key?(:field_metadata)
|
31338
31608
|
@forwardings = args[:forwardings] if args.key?(:forwardings)
|
31339
31609
|
@history = args[:history] if args.key?(:history)
|
@@ -31350,12 +31620,12 @@ module Google
|
|
31350
31620
|
class GeostoreFeaturePropertyIdProto
|
31351
31621
|
include Google::Apis::Core::Hashable
|
31352
31622
|
|
31353
|
-
# field_type == ATTACHMENT
|
31623
|
+
# Required when field_type == ATTACHMENT.
|
31354
31624
|
# Corresponds to the JSON property `attachmentTypeId`
|
31355
31625
|
# @return [Fixnum]
|
31356
31626
|
attr_accessor :attachment_type_id
|
31357
31627
|
|
31358
|
-
# field_type == FEATURE_ATTRIBUTE
|
31628
|
+
# Required when field_type == FEATURE_ATTRIBUTE.
|
31359
31629
|
# Corresponds to the JSON property `attributeId`
|
31360
31630
|
# @return [String]
|
31361
31631
|
attr_accessor :attribute_id
|
@@ -31365,11 +31635,16 @@ module Google
|
|
31365
31635
|
# @return [String]
|
31366
31636
|
attr_accessor :field_type
|
31367
31637
|
|
31368
|
-
# field_type == KNOWLEDGE_GRAPH_PROPERTY
|
31638
|
+
# Required when field_type == KNOWLEDGE_GRAPH_PROPERTY.
|
31369
31639
|
# Corresponds to the JSON property `kgPropertyId`
|
31370
31640
|
# @return [String]
|
31371
31641
|
attr_accessor :kg_property_id
|
31372
31642
|
|
31643
|
+
# RESERVED
|
31644
|
+
# Corresponds to the JSON property `nameLanguage`
|
31645
|
+
# @return [String]
|
31646
|
+
attr_accessor :name_language
|
31647
|
+
|
31373
31648
|
def initialize(**args)
|
31374
31649
|
update!(**args)
|
31375
31650
|
end
|
@@ -31380,6 +31655,7 @@ module Google
|
|
31380
31655
|
@attribute_id = args[:attribute_id] if args.key?(:attribute_id)
|
31381
31656
|
@field_type = args[:field_type] if args.key?(:field_type)
|
31382
31657
|
@kg_property_id = args[:kg_property_id] if args.key?(:kg_property_id)
|
31658
|
+
@name_language = args[:name_language] if args.key?(:name_language)
|
31383
31659
|
end
|
31384
31660
|
end
|
31385
31661
|
|
@@ -32361,6 +32637,34 @@ module Google
|
|
32361
32637
|
end
|
32362
32638
|
end
|
32363
32639
|
|
32640
|
+
# Metadata to track feature derivations and replacements. This is used to track
|
32641
|
+
# feature provenance (particularly for road segments).
|
32642
|
+
class GeostoreFeatureReplacementInfoProto
|
32643
|
+
include Google::Apis::Core::Hashable
|
32644
|
+
|
32645
|
+
# This feature was created to replace other features that are referenced by this
|
32646
|
+
# field.
|
32647
|
+
# Corresponds to the JSON property `derivedFrom`
|
32648
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
|
32649
|
+
attr_accessor :derived_from
|
32650
|
+
|
32651
|
+
# This feature was replaced by other features that are referenced by this this
|
32652
|
+
# field.
|
32653
|
+
# Corresponds to the JSON property `replacedBy`
|
32654
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
|
32655
|
+
attr_accessor :replaced_by
|
32656
|
+
|
32657
|
+
def initialize(**args)
|
32658
|
+
update!(**args)
|
32659
|
+
end
|
32660
|
+
|
32661
|
+
# Update properties of this object
|
32662
|
+
def update!(**args)
|
32663
|
+
@derived_from = args[:derived_from] if args.key?(:derived_from)
|
32664
|
+
@replaced_by = args[:replaced_by] if args.key?(:replaced_by)
|
32665
|
+
end
|
32666
|
+
end
|
32667
|
+
|
32364
32668
|
# Internal field metadata. This part is not exposed to downstream consumers of
|
32365
32669
|
# the repository (read-only clients) but is available to upstream providers to
|
32366
32670
|
# the repository (read-write clients).
|
@@ -37290,7 +37594,8 @@ module Google
|
|
37290
37594
|
# @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceRangeProto>]
|
37291
37595
|
attr_accessor :call_rate
|
37292
37596
|
|
37293
|
-
#
|
37597
|
+
# Disambiguates between the types of information or service a caller might seek
|
37598
|
+
# when contacting this phone number.
|
37294
37599
|
# Corresponds to the JSON property `contactCategory`
|
37295
37600
|
# @return [String]
|
37296
37601
|
attr_accessor :contact_category
|
@@ -37340,7 +37645,13 @@ module Google
|
|
37340
37645
|
# @return [Google::Apis::ContentwarehouseV1::I18nPhonenumbersPhoneNumber]
|
37341
37646
|
attr_accessor :phone_number
|
37342
37647
|
|
37343
|
-
#
|
37648
|
+
# The features from which this phone number can be called from. For instance, if
|
37649
|
+
# a phone number can only be called from Europe, this field will contain a
|
37650
|
+
# reference to the TYPE_CONTINENT feature of Europe. This field is analogous to
|
37651
|
+
# http://kg/schema/common/phone_number/service_location. The only valid
|
37652
|
+
# destination feature types are TYPE_CONTINENT and TYPE_POLITICAL. If empty,
|
37653
|
+
# this phone number can be called from anywhere in Earth (this is the case for
|
37654
|
+
# the majority of phones).
|
37344
37655
|
# Corresponds to the JSON property `serviceLocationFeature`
|
37345
37656
|
# @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
|
37346
37657
|
attr_accessor :service_location_feature
|
@@ -41603,7 +41914,7 @@ module Google
|
|
41603
41914
|
# @return [String]
|
41604
41915
|
attr_accessor :create_mask
|
41605
41916
|
|
41606
|
-
# Defines the structure for content warehouse document proto.
|
41917
|
+
# Defines the structure for content warehouse document proto.
|
41607
41918
|
# Corresponds to the JSON property `document`
|
41608
41919
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
|
41609
41920
|
attr_accessor :document
|
@@ -41662,7 +41973,7 @@ module Google
|
|
41662
41973
|
class GoogleCloudContentwarehouseV1CreateDocumentResponse
|
41663
41974
|
include Google::Apis::Core::Hashable
|
41664
41975
|
|
41665
|
-
# Defines the structure for content warehouse document proto.
|
41976
|
+
# Defines the structure for content warehouse document proto.
|
41666
41977
|
# Corresponds to the JSON property `document`
|
41667
41978
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
|
41668
41979
|
attr_accessor :document
|
@@ -41823,7 +42134,7 @@ module Google
|
|
41823
42134
|
end
|
41824
42135
|
end
|
41825
42136
|
|
41826
|
-
# Defines the structure for content warehouse document proto.
|
42137
|
+
# Defines the structure for content warehouse document proto.
|
41827
42138
|
class GoogleCloudContentwarehouseV1Document
|
41828
42139
|
include Google::Apis::Core::Hashable
|
41829
42140
|
|
@@ -42026,7 +42337,7 @@ module Google
|
|
42026
42337
|
end
|
42027
42338
|
end
|
42028
42339
|
|
42029
|
-
#
|
42340
|
+
#
|
42030
42341
|
class GoogleCloudContentwarehouseV1DocumentQuery
|
42031
42342
|
include Google::Apis::Core::Hashable
|
42032
42343
|
|
@@ -42445,7 +42756,7 @@ module Google
|
|
42445
42756
|
end
|
42446
42757
|
end
|
42447
42758
|
|
42448
|
-
# Request message for DocumentService.GetDocument.
|
42759
|
+
# Request message for DocumentService.GetDocument.
|
42449
42760
|
class GoogleCloudContentwarehouseV1GetDocumentRequest
|
42450
42761
|
include Google::Apis::Core::Hashable
|
42451
42762
|
|
@@ -43026,7 +43337,7 @@ module Google
|
|
43026
43337
|
end
|
43027
43338
|
end
|
43028
43339
|
|
43029
|
-
# Defines the metadata for a schema property.
|
43340
|
+
# Defines the metadata for a schema property.
|
43030
43341
|
class GoogleCloudContentwarehouseV1PropertyDefinition
|
43031
43342
|
include Google::Apis::Core::Hashable
|
43032
43343
|
|
@@ -43482,7 +43793,7 @@ module Google
|
|
43482
43793
|
end
|
43483
43794
|
end
|
43484
43795
|
|
43485
|
-
# Represents a set of rules from a single customer.
|
43796
|
+
# Represents a set of rules from a single customer.
|
43486
43797
|
class GoogleCloudContentwarehouseV1RuleSet
|
43487
43798
|
include Google::Apis::Core::Hashable
|
43488
43799
|
|
@@ -43521,11 +43832,11 @@ module Google
|
|
43521
43832
|
end
|
43522
43833
|
end
|
43523
43834
|
|
43524
|
-
#
|
43835
|
+
# Request message for DocumentService.SearchDocuments.
|
43525
43836
|
class GoogleCloudContentwarehouseV1SearchDocumentsRequest
|
43526
43837
|
include Google::Apis::Core::Hashable
|
43527
43838
|
|
43528
|
-
#
|
43839
|
+
# Query used to search against documents (keyword, filters, etc.).
|
43529
43840
|
# Corresponds to the JSON property `documentQuery`
|
43530
43841
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1DocumentQuery]
|
43531
43842
|
attr_accessor :document_query
|
@@ -43599,7 +43910,9 @@ module Google
|
|
43599
43910
|
|
43600
43911
|
# Optional. Controls if the search document request requires the return of a
|
43601
43912
|
# total size of matched documents. See SearchDocumentsResponse.total_size.
|
43602
|
-
# Enabling this flag may adversely impact performance.
|
43913
|
+
# Enabling this flag may adversely impact performance. Hint: If this is used
|
43914
|
+
# with pagination, set this flag on the initial query but set this to false on
|
43915
|
+
# subsequent page calls (keep the total count locally). Defaults to false.
|
43603
43916
|
# Corresponds to the JSON property `requireTotalSize`
|
43604
43917
|
# @return [Boolean]
|
43605
43918
|
attr_accessor :require_total_size
|
@@ -43651,7 +43964,10 @@ module Google
|
|
43651
43964
|
|
43652
43965
|
# The total number of matched documents which is available only if the client
|
43653
43966
|
# set SearchDocumentsRequest.require_total_size to `true`. Otherwise, the value
|
43654
|
-
# will be `-1`.
|
43967
|
+
# will be `-1`. `total_size` will max at "100,000". If this is returned, then it
|
43968
|
+
# can be assumed that the count is equal to or greater than 100,000. Typically a
|
43969
|
+
# UI would handle this condition by displaying "of many", for example: "
|
43970
|
+
# Displaying 10 of many".
|
43655
43971
|
# Corresponds to the JSON property `totalSize`
|
43656
43972
|
# @return [Fixnum]
|
43657
43973
|
attr_accessor :total_size
|
@@ -43674,7 +43990,7 @@ module Google
|
|
43674
43990
|
class GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument
|
43675
43991
|
include Google::Apis::Core::Hashable
|
43676
43992
|
|
43677
|
-
# Defines the structure for content warehouse document proto.
|
43993
|
+
# Defines the structure for content warehouse document proto.
|
43678
43994
|
# Corresponds to the JSON property `document`
|
43679
43995
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
|
43680
43996
|
attr_accessor :document
|
@@ -44015,7 +44331,7 @@ module Google
|
|
44015
44331
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1CloudAiDocumentOption]
|
44016
44332
|
attr_accessor :cloud_ai_document_option
|
44017
44333
|
|
44018
|
-
# Defines the structure for content warehouse document proto.
|
44334
|
+
# Defines the structure for content warehouse document proto.
|
44019
44335
|
# Corresponds to the JSON property `document`
|
44020
44336
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
|
44021
44337
|
attr_accessor :document
|
@@ -44047,7 +44363,7 @@ module Google
|
|
44047
44363
|
class GoogleCloudContentwarehouseV1UpdateDocumentResponse
|
44048
44364
|
include Google::Apis::Core::Hashable
|
44049
44365
|
|
44050
|
-
# Defines the structure for content warehouse document proto.
|
44366
|
+
# Defines the structure for content warehouse document proto.
|
44051
44367
|
# Corresponds to the JSON property `document`
|
44052
44368
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
|
44053
44369
|
attr_accessor :document
|
@@ -44130,7 +44446,7 @@ module Google
|
|
44130
44446
|
class GoogleCloudContentwarehouseV1UpdateRuleSetRequest
|
44131
44447
|
include Google::Apis::Core::Hashable
|
44132
44448
|
|
44133
|
-
# Represents a set of rules from a single customer.
|
44449
|
+
# Represents a set of rules from a single customer.
|
44134
44450
|
# Corresponds to the JSON property `ruleSet`
|
44135
44451
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RuleSet]
|
44136
44452
|
attr_accessor :rule_set
|
@@ -44718,6 +45034,11 @@ module Google
|
|
44718
45034
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImage]
|
44719
45035
|
attr_accessor :image
|
44720
45036
|
|
45037
|
+
# Image Quality Scores for the page image
|
45038
|
+
# Corresponds to the JSON property `imageQualityScores`
|
45039
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
|
45040
|
+
attr_accessor :image_quality_scores
|
45041
|
+
|
44721
45042
|
# Visual element describing a layout unit on a page.
|
44722
45043
|
# Corresponds to the JSON property `layout`
|
44723
45044
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageLayout]
|
@@ -44786,6 +45107,7 @@ module Google
|
|
44786
45107
|
@dimension = args[:dimension] if args.key?(:dimension)
|
44787
45108
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
44788
45109
|
@image = args[:image] if args.key?(:image)
|
45110
|
+
@image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
|
44789
45111
|
@layout = args[:layout] if args.key?(:layout)
|
44790
45112
|
@lines = args[:lines] if args.key?(:lines)
|
44791
45113
|
@page_number = args[:page_number] if args.key?(:page_number)
|
@@ -45087,6 +45409,60 @@ module Google
|
|
45087
45409
|
end
|
45088
45410
|
end
|
45089
45411
|
|
45412
|
+
# Image Quality Scores for the page image
|
45413
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
|
45414
|
+
include Google::Apis::Core::Hashable
|
45415
|
+
|
45416
|
+
# A list of detected defects.
|
45417
|
+
# Corresponds to the JSON property `detectedDefects`
|
45418
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
|
45419
|
+
attr_accessor :detected_defects
|
45420
|
+
|
45421
|
+
# The overall quality score. Range [0, 1] where 1 is perfect quality.
|
45422
|
+
# Corresponds to the JSON property `qualityScore`
|
45423
|
+
# @return [Float]
|
45424
|
+
attr_accessor :quality_score
|
45425
|
+
|
45426
|
+
def initialize(**args)
|
45427
|
+
update!(**args)
|
45428
|
+
end
|
45429
|
+
|
45430
|
+
# Update properties of this object
|
45431
|
+
def update!(**args)
|
45432
|
+
@detected_defects = args[:detected_defects] if args.key?(:detected_defects)
|
45433
|
+
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
45434
|
+
end
|
45435
|
+
end
|
45436
|
+
|
45437
|
+
# Image Quality Defects
|
45438
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
|
45439
|
+
include Google::Apis::Core::Hashable
|
45440
|
+
|
45441
|
+
# Confidence of detected defect. Range [0, 1] where 1 indicates strong
|
45442
|
+
# confidence of that the defect exists.
|
45443
|
+
# Corresponds to the JSON property `confidence`
|
45444
|
+
# @return [Float]
|
45445
|
+
attr_accessor :confidence
|
45446
|
+
|
45447
|
+
# Name of the defect type. Supported values are "quality/defect_blurry", "
|
45448
|
+
# quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
|
45449
|
+
# defect_text_too_small", "quality/defect_document_cutoff", "quality/
|
45450
|
+
# defect_text_cutoff", "quality/defect_glare"
|
45451
|
+
# Corresponds to the JSON property `type`
|
45452
|
+
# @return [String]
|
45453
|
+
attr_accessor :type
|
45454
|
+
|
45455
|
+
def initialize(**args)
|
45456
|
+
update!(**args)
|
45457
|
+
end
|
45458
|
+
|
45459
|
+
# Update properties of this object
|
45460
|
+
def update!(**args)
|
45461
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
45462
|
+
@type = args[:type] if args.key?(:type)
|
45463
|
+
end
|
45464
|
+
end
|
45465
|
+
|
45090
45466
|
# Visual element describing a layout unit on a page.
|
45091
45467
|
class GoogleCloudDocumentaiV1DocumentPageLayout
|
45092
45468
|
include Google::Apis::Core::Hashable
|
@@ -45282,6 +45658,12 @@ module Google
|
|
45282
45658
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageLayout]
|
45283
45659
|
attr_accessor :layout
|
45284
45660
|
|
45661
|
+
# Structure to identify provenance relationships between annotations in
|
45662
|
+
# different revisions.
|
45663
|
+
# Corresponds to the JSON property `provenance`
|
45664
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentProvenance]
|
45665
|
+
attr_accessor :provenance
|
45666
|
+
|
45285
45667
|
def initialize(**args)
|
45286
45668
|
update!(**args)
|
45287
45669
|
end
|
@@ -45292,6 +45674,7 @@ module Google
|
|
45292
45674
|
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
45293
45675
|
@header_rows = args[:header_rows] if args.key?(:header_rows)
|
45294
45676
|
@layout = args[:layout] if args.key?(:layout)
|
45677
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
45295
45678
|
end
|
45296
45679
|
end
|
45297
45680
|
|
@@ -46293,6 +46676,19 @@ module Google
|
|
46293
46676
|
class GoogleInternalAppsWaldoV1alphaDoNotDisturb
|
46294
46677
|
include Google::Apis::Core::Hashable
|
46295
46678
|
|
46679
|
+
# The time when the user will stop being committed, i.e., when their status will
|
46680
|
+
# be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh.
|
46681
|
+
# Corresponds to the JSON property `committedUntil`
|
46682
|
+
# @return [String]
|
46683
|
+
attr_accessor :committed_until
|
46684
|
+
|
46685
|
+
# Whether the status of the user until committed_until has more than one status
|
46686
|
+
# type (e.g. DoNotDisturb + InMeeting).
|
46687
|
+
# Corresponds to the JSON property `committedUntilIsMixed`
|
46688
|
+
# @return [Boolean]
|
46689
|
+
attr_accessor :committed_until_is_mixed
|
46690
|
+
alias_method :committed_until_is_mixed?, :committed_until_is_mixed
|
46691
|
+
|
46296
46692
|
# The next time when the user will be available, i.e., when their status will be
|
46297
46693
|
# neither InMeeting, CalendarBusy, DoNotDisturb, OutsideWorkingHours, nor
|
46298
46694
|
# OutOfOffice.
|
@@ -46312,6 +46708,8 @@ module Google
|
|
46312
46708
|
|
46313
46709
|
# Update properties of this object
|
46314
46710
|
def update!(**args)
|
46711
|
+
@committed_until = args[:committed_until] if args.key?(:committed_until)
|
46712
|
+
@committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
|
46315
46713
|
@next_available = args[:next_available] if args.key?(:next_available)
|
46316
46714
|
@occupied_until = args[:occupied_until] if args.key?(:occupied_until)
|
46317
46715
|
end
|
@@ -46334,6 +46732,21 @@ module Google
|
|
46334
46732
|
class GoogleInternalAppsWaldoV1alphaInMeeting
|
46335
46733
|
include Google::Apis::Core::Hashable
|
46336
46734
|
|
46735
|
+
# The time when the user will stop being committed, i.e., when their status will
|
46736
|
+
# be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh. Note that the goal
|
46737
|
+
# of this field is to provide information to help users decide how to
|
46738
|
+
# communicate with a user (see also http://shortn/_wXYXtZScgh).
|
46739
|
+
# Corresponds to the JSON property `committedUntil`
|
46740
|
+
# @return [String]
|
46741
|
+
attr_accessor :committed_until
|
46742
|
+
|
46743
|
+
# Whether the status of the user until committed_until has more than one status
|
46744
|
+
# type (e.g. InMeeting + DoNotDisturb).
|
46745
|
+
# Corresponds to the JSON property `committedUntilIsMixed`
|
46746
|
+
# @return [Boolean]
|
46747
|
+
attr_accessor :committed_until_is_mixed
|
46748
|
+
alias_method :committed_until_is_mixed?, :committed_until_is_mixed
|
46749
|
+
|
46337
46750
|
# The summary of the corresponding event in Calendar.
|
46338
46751
|
# Corresponds to the JSON property `eventSummary`
|
46339
46752
|
# @return [String]
|
@@ -46352,7 +46765,7 @@ module Google
|
|
46352
46765
|
attr_accessor :next_available
|
46353
46766
|
|
46354
46767
|
# The time when the user will stop being occupied, i.e., when their status will
|
46355
|
-
# be neither
|
46768
|
+
# be neither InMeeting, Busy nor DoNotDisturb.
|
46356
46769
|
# Corresponds to the JSON property `occupiedUntil`
|
46357
46770
|
# @return [String]
|
46358
46771
|
attr_accessor :occupied_until
|
@@ -46363,6 +46776,8 @@ module Google
|
|
46363
46776
|
|
46364
46777
|
# Update properties of this object
|
46365
46778
|
def update!(**args)
|
46779
|
+
@committed_until = args[:committed_until] if args.key?(:committed_until)
|
46780
|
+
@committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
|
46366
46781
|
@event_summary = args[:event_summary] if args.key?(:event_summary)
|
46367
46782
|
@in_meetings_until = args[:in_meetings_until] if args.key?(:in_meetings_until)
|
46368
46783
|
@next_available = args[:next_available] if args.key?(:next_available)
|
@@ -46513,6 +46928,33 @@ module Google
|
|
46513
46928
|
end
|
46514
46929
|
end
|
46515
46930
|
|
46931
|
+
#
|
46932
|
+
class GoogleInternalAppsWaldoV1alphaUpcomingCommitmentContext
|
46933
|
+
include Google::Apis::Core::Hashable
|
46934
|
+
|
46935
|
+
# The actual status of the user. The message contains everything needed for
|
46936
|
+
# visualisation of this status.
|
46937
|
+
# Corresponds to the JSON property `nextCommitmentStatus`
|
46938
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUserStatus]
|
46939
|
+
attr_accessor :next_commitment_status
|
46940
|
+
|
46941
|
+
# The time when the user will start having a status of InMeeting, DoNotDisturb
|
46942
|
+
# or short OutOfOffice.
|
46943
|
+
# Corresponds to the JSON property `nextCommitmentTime`
|
46944
|
+
# @return [String]
|
46945
|
+
attr_accessor :next_commitment_time
|
46946
|
+
|
46947
|
+
def initialize(**args)
|
46948
|
+
update!(**args)
|
46949
|
+
end
|
46950
|
+
|
46951
|
+
# Update properties of this object
|
46952
|
+
def update!(**args)
|
46953
|
+
@next_commitment_status = args[:next_commitment_status] if args.key?(:next_commitment_status)
|
46954
|
+
@next_commitment_time = args[:next_commitment_time] if args.key?(:next_commitment_time)
|
46955
|
+
end
|
46956
|
+
end
|
46957
|
+
|
46516
46958
|
# The context indicating the user's upcoming Out of Office event.
|
46517
46959
|
class GoogleInternalAppsWaldoV1alphaUpcomingOooContext
|
46518
46960
|
include Google::Apis::Core::Hashable
|
@@ -46638,6 +47080,11 @@ module Google
|
|
46638
47080
|
# @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaLocalTimeContext]
|
46639
47081
|
attr_accessor :local_time
|
46640
47082
|
|
47083
|
+
# Information about upcoming events.
|
47084
|
+
# Corresponds to the JSON property `upcomingCommitmentContext`
|
47085
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUpcomingCommitmentContext]
|
47086
|
+
attr_accessor :upcoming_commitment_context
|
47087
|
+
|
46641
47088
|
# The context indicating the user's upcoming Out of Office event.
|
46642
47089
|
# Corresponds to the JSON property `upcomingOoo`
|
46643
47090
|
# @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUpcomingOooContext]
|
@@ -46656,6 +47103,7 @@ module Google
|
|
46656
47103
|
# Update properties of this object
|
46657
47104
|
def update!(**args)
|
46658
47105
|
@local_time = args[:local_time] if args.key?(:local_time)
|
47106
|
+
@upcoming_commitment_context = args[:upcoming_commitment_context] if args.key?(:upcoming_commitment_context)
|
46659
47107
|
@upcoming_ooo = args[:upcoming_ooo] if args.key?(:upcoming_ooo)
|
46660
47108
|
@working_elsewhere = args[:working_elsewhere] if args.key?(:working_elsewhere)
|
46661
47109
|
end
|
@@ -50604,7 +51052,7 @@ module Google
|
|
50604
51052
|
attr_accessor :photo_detector_version
|
50605
51053
|
|
50606
51054
|
# A protocol buffer to store the url, referer and porn flag for a url. and an
|
50607
|
-
# optional image score. Next available tag id:
|
51055
|
+
# optional image score. Next available tag id: 51.
|
50608
51056
|
# Corresponds to the JSON property `pornFlagData`
|
50609
51057
|
# @return [Google::Apis::ContentwarehouseV1::PornFlagData]
|
50610
51058
|
attr_accessor :porn_flag_data
|
@@ -53673,11 +54121,6 @@ module Google
|
|
53673
54121
|
# @return [Float]
|
53674
54122
|
attr_accessor :ocr_prominence_score
|
53675
54123
|
|
53676
|
-
# The score produced by the sensitive_seti model.
|
53677
|
-
# Corresponds to the JSON property `offensiveScore`
|
53678
|
-
# @return [Float]
|
53679
|
-
attr_accessor :offensive_score
|
53680
|
-
|
53681
54124
|
# Image OCR racyness/pornyness, computed by porn query classifier.
|
53682
54125
|
# Corresponds to the JSON property `pornScore`
|
53683
54126
|
# @return [Float]
|
@@ -53716,7 +54159,6 @@ module Google
|
|
53716
54159
|
# Update properties of this object
|
53717
54160
|
def update!(**args)
|
53718
54161
|
@ocr_prominence_score = args[:ocr_prominence_score] if args.key?(:ocr_prominence_score)
|
53719
|
-
@offensive_score = args[:offensive_score] if args.key?(:offensive_score)
|
53720
54162
|
@porn_score = args[:porn_score] if args.key?(:porn_score)
|
53721
54163
|
@prominent_offensive_score = args[:prominent_offensive_score] if args.key?(:prominent_offensive_score)
|
53722
54164
|
@prominent_vulgar_score = args[:prominent_vulgar_score] if args.key?(:prominent_vulgar_score)
|
@@ -55495,12 +55937,17 @@ module Google
|
|
55495
55937
|
class IndexingDocjoinerDataVersion
|
55496
55938
|
include Google::Apis::Core::Hashable
|
55497
55939
|
|
55498
|
-
#
|
55499
|
-
# sdl)
|
55940
|
+
#
|
55500
55941
|
# Corresponds to the JSON property `acceleratedShoppingSignal`
|
55501
55942
|
# @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
|
55502
55943
|
attr_accessor :accelerated_shopping_signal
|
55503
55944
|
|
55945
|
+
# LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
|
55946
|
+
# sdl)
|
55947
|
+
# Corresponds to the JSON property `chromeCounts`
|
55948
|
+
# @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
|
55949
|
+
attr_accessor :chrome_counts
|
55950
|
+
|
55504
55951
|
#
|
55505
55952
|
# Corresponds to the JSON property `localyp`
|
55506
55953
|
# @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
|
@@ -55568,6 +56015,7 @@ module Google
|
|
55568
56015
|
# Update properties of this object
|
55569
56016
|
def update!(**args)
|
55570
56017
|
@accelerated_shopping_signal = args[:accelerated_shopping_signal] if args.key?(:accelerated_shopping_signal)
|
56018
|
+
@chrome_counts = args[:chrome_counts] if args.key?(:chrome_counts)
|
55571
56019
|
@localyp = args[:localyp] if args.key?(:localyp)
|
55572
56020
|
@localyp_version = args[:localyp_version] if args.key?(:localyp_version)
|
55573
56021
|
@modern_format_content = args[:modern_format_content] if args.key?(:modern_format_content)
|
@@ -60759,7 +61207,7 @@ module Google
|
|
60759
61207
|
# anything that they need to propagate down stream from AQUA. Note that this
|
60760
61208
|
# proto is not the same as the Superroot proto ParsingSignals (http://google3/
|
60761
61209
|
# knowledge/proto/scoring-signals.proto), which is a Superroot-specific signal
|
60762
|
-
# used in Scoring. Next ID:
|
61210
|
+
# used in Scoring. Next ID: 5
|
60763
61211
|
# Corresponds to the JSON property `parsingSignals`
|
60764
61212
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryParsingSignals]
|
60765
61213
|
attr_accessor :parsing_signals
|
@@ -60772,7 +61220,7 @@ module Google
|
|
60772
61220
|
|
60773
61221
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
60774
61222
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
60775
|
-
# Next ID:
|
61223
|
+
# Next ID: 30
|
60776
61224
|
# Corresponds to the JSON property `prefulfillmentSignals`
|
60777
61225
|
# @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
|
60778
61226
|
attr_accessor :prefulfillment_signals
|
@@ -61322,7 +61770,7 @@ module Google
|
|
61322
61770
|
# anything that they need to propagate down stream from AQUA. Note that this
|
61323
61771
|
# proto is not the same as the Superroot proto ParsingSignals (http://google3/
|
61324
61772
|
# knowledge/proto/scoring-signals.proto), which is a Superroot-specific signal
|
61325
|
-
# used in Scoring. Next ID:
|
61773
|
+
# used in Scoring. Next ID: 5
|
61326
61774
|
class KnowledgeAnswersIntentQueryParsingSignals
|
61327
61775
|
include Google::Apis::Core::Hashable
|
61328
61776
|
|
@@ -61339,6 +61787,13 @@ module Google
|
|
61339
61787
|
# @return [Google::Apis::ContentwarehouseV1::NlpLoggingQRewriteClientCallPathInfo]
|
61340
61788
|
attr_accessor :qrewrite_call_path_info
|
61341
61789
|
|
61790
|
+
# This proto holds the fingerprint of the call path info of QRewrite client (e.g.
|
61791
|
+
# the QUS's phase like "RBT","QBT"; the QUS's candidate type like "Identity";
|
61792
|
+
# and the ACE's candidate type like "FuzzyMatcher").
|
61793
|
+
# Corresponds to the JSON property `qrewriteCallPathInfoFingerprint`
|
61794
|
+
# @return [Fixnum]
|
61795
|
+
attr_accessor :qrewrite_call_path_info_fingerprint
|
61796
|
+
|
61342
61797
|
# The parser that calibrated the parsing score below.
|
61343
61798
|
# Corresponds to the JSON property `source`
|
61344
61799
|
# @return [String]
|
@@ -61352,6 +61807,7 @@ module Google
|
|
61352
61807
|
def update!(**args)
|
61353
61808
|
@calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
|
61354
61809
|
@qrewrite_call_path_info = args[:qrewrite_call_path_info] if args.key?(:qrewrite_call_path_info)
|
61810
|
+
@qrewrite_call_path_info_fingerprint = args[:qrewrite_call_path_info_fingerprint] if args.key?(:qrewrite_call_path_info_fingerprint)
|
61355
61811
|
@source = args[:source] if args.key?(:source)
|
61356
61812
|
end
|
61357
61813
|
end
|
@@ -66293,37 +66749,6 @@ module Google
|
|
66293
66749
|
end
|
66294
66750
|
end
|
66295
66751
|
|
66296
|
-
# Manybox container message
|
66297
|
-
class ManyboxData
|
66298
|
-
include Google::Apis::Core::Hashable
|
66299
|
-
|
66300
|
-
# This is proto2's version of MessageSet.
|
66301
|
-
# Corresponds to the JSON property `components`
|
66302
|
-
# @return [Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet]
|
66303
|
-
attr_accessor :components
|
66304
|
-
|
66305
|
-
# a bit vector of the available manybox data types
|
66306
|
-
# Corresponds to the JSON property `dataSummary`
|
66307
|
-
# @return [Fixnum]
|
66308
|
-
attr_accessor :data_summary
|
66309
|
-
|
66310
|
-
#
|
66311
|
-
# Corresponds to the JSON property `debug`
|
66312
|
-
# @return [String]
|
66313
|
-
attr_accessor :debug
|
66314
|
-
|
66315
|
-
def initialize(**args)
|
66316
|
-
update!(**args)
|
66317
|
-
end
|
66318
|
-
|
66319
|
-
# Update properties of this object
|
66320
|
-
def update!(**args)
|
66321
|
-
@components = args[:components] if args.key?(:components)
|
66322
|
-
@data_summary = args[:data_summary] if args.key?(:data_summary)
|
66323
|
-
@debug = args[:debug] if args.key?(:debug)
|
66324
|
-
end
|
66325
|
-
end
|
66326
|
-
|
66327
66752
|
# Flags that describe the information about a special word. If you add another
|
66328
66753
|
# flag please add it to the special words implemenation in google3/maps/quality/
|
66329
66754
|
# internal/special_words.cc. -- Next available id: 20 --
|
@@ -67443,7 +67868,7 @@ module Google
|
|
67443
67868
|
end
|
67444
67869
|
end
|
67445
67870
|
|
67446
|
-
# Next ID:
|
67871
|
+
# Next ID: 7
|
67447
67872
|
class NewsReconServiceLrsQ2lrs2EntryPayload
|
67448
67873
|
include Google::Apis::Core::Hashable
|
67449
67874
|
|
@@ -67465,6 +67890,12 @@ module Google
|
|
67465
67890
|
attr_accessor :is_planned_moment
|
67466
67891
|
alias_method :is_planned_moment?, :is_planned_moment
|
67467
67892
|
|
67893
|
+
# This is meant to hold `LongRunningStory.Type`s only, unfortunately adding an
|
67894
|
+
# import here causes a circular dependency.
|
67895
|
+
# Corresponds to the JSON property `lrsTypes`
|
67896
|
+
# @return [Array<Fixnum>]
|
67897
|
+
attr_accessor :lrs_types
|
67898
|
+
|
67468
67899
|
#
|
67469
67900
|
# Corresponds to the JSON property `momentRankingScore`
|
67470
67901
|
# @return [Fixnum]
|
@@ -67485,6 +67916,7 @@ module Google
|
|
67485
67916
|
@is_daily_moment = args[:is_daily_moment] if args.key?(:is_daily_moment)
|
67486
67917
|
@is_moment_any_flavor = args[:is_moment_any_flavor] if args.key?(:is_moment_any_flavor)
|
67487
67918
|
@is_planned_moment = args[:is_planned_moment] if args.key?(:is_planned_moment)
|
67919
|
+
@lrs_types = args[:lrs_types] if args.key?(:lrs_types)
|
67488
67920
|
@moment_ranking_score = args[:moment_ranking_score] if args.key?(:moment_ranking_score)
|
67489
67921
|
@out_kg_feature_types = args[:out_kg_feature_types] if args.key?(:out_kg_feature_types)
|
67490
67922
|
end
|
@@ -67549,7 +67981,7 @@ module Google
|
|
67549
67981
|
# @return [Fixnum]
|
67550
67982
|
attr_accessor :entry_index
|
67551
67983
|
|
67552
|
-
# Next ID:
|
67984
|
+
# Next ID: 7
|
67553
67985
|
# Corresponds to the JSON property `internalPayload`
|
67554
67986
|
# @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2EntryPayload]
|
67555
67987
|
attr_accessor :internal_payload
|
@@ -70394,7 +70826,7 @@ module Google
|
|
70394
70826
|
# always filled; for (minute, second, partial_second), they are optional with a
|
70395
70827
|
# zero default value. But if partial_second is filled, (minute, second) must be
|
70396
70828
|
# filled, even they are 0s; if second is filled, minute must be filled. Next
|
70397
|
-
# field#:
|
70829
|
+
# field#: 22.
|
70398
70830
|
class NlpSemanticParsingDatetimeAbsoluteDateTime
|
70399
70831
|
include Google::Apis::Core::Hashable
|
70400
70832
|
|
@@ -70427,7 +70859,9 @@ module Google
|
|
70427
70859
|
# @return [Fixnum]
|
70428
70860
|
attr_accessor :hour
|
70429
70861
|
|
70430
|
-
#
|
70862
|
+
# Note: This is marked as deprecated as we are moving into explicit parses using
|
70863
|
+
# the `meridiem` field, and leave the inference over implicit parses to the
|
70864
|
+
# grounding/resolution libraries.
|
70431
70865
|
# Corresponds to the JSON property `hourState`
|
70432
70866
|
# @return [String]
|
70433
70867
|
attr_accessor :hour_state
|
@@ -70440,6 +70874,13 @@ module Google
|
|
70440
70874
|
attr_accessor :is_bc
|
70441
70875
|
alias_method :is_bc?, :is_bc
|
70442
70876
|
|
70877
|
+
# For expressions such as "am", "pm". Note: the name "meridiem" has been taken
|
70878
|
+
# by a field in message ResolutionProperties. Examples: * "9 am": point ` hour:
|
70879
|
+
# 9 meridiem: AM hour_state: UNAMBIGUOUS `
|
70880
|
+
# Corresponds to the JSON property `meridiem`
|
70881
|
+
# @return [String]
|
70882
|
+
attr_accessor :meridiem
|
70883
|
+
|
70443
70884
|
#
|
70444
70885
|
# Corresponds to the JSON property `minute`
|
70445
70886
|
# @return [Fixnum]
|
@@ -70538,6 +70979,7 @@ module Google
|
|
70538
70979
|
@hour = args[:hour] if args.key?(:hour)
|
70539
70980
|
@hour_state = args[:hour_state] if args.key?(:hour_state)
|
70540
70981
|
@is_bc = args[:is_bc] if args.key?(:is_bc)
|
70982
|
+
@meridiem = args[:meridiem] if args.key?(:meridiem)
|
70541
70983
|
@minute = args[:minute] if args.key?(:minute)
|
70542
70984
|
@modifier = args[:modifier] if args.key?(:modifier)
|
70543
70985
|
@month = args[:month] if args.key?(:month)
|
@@ -70827,6 +71269,11 @@ module Google
|
|
70827
71269
|
class NlpSemanticParsingDatetimeEvent
|
70828
71270
|
include Google::Apis::Core::Hashable
|
70829
71271
|
|
71272
|
+
#
|
71273
|
+
# Corresponds to the JSON property `holiday`
|
71274
|
+
# @return [String]
|
71275
|
+
attr_accessor :holiday
|
71276
|
+
|
70830
71277
|
#
|
70831
71278
|
# Corresponds to the JSON property `moonEvent`
|
70832
71279
|
# @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeMoonEventInfo]
|
@@ -70848,6 +71295,7 @@ module Google
|
|
70848
71295
|
|
70849
71296
|
# Update properties of this object
|
70850
71297
|
def update!(**args)
|
71298
|
+
@holiday = args[:holiday] if args.key?(:holiday)
|
70851
71299
|
@moon_event = args[:moon_event] if args.key?(:moon_event)
|
70852
71300
|
@sun_event = args[:sun_event] if args.key?(:sun_event)
|
70853
71301
|
@type = args[:type] if args.key?(:type)
|
@@ -71129,7 +71577,7 @@ module Google
|
|
71129
71577
|
# always filled; for (minute, second, partial_second), they are optional with a
|
71130
71578
|
# zero default value. But if partial_second is filled, (minute, second) must be
|
71131
71579
|
# filled, even they are 0s; if second is filled, minute must be filled. Next
|
71132
|
-
# field#:
|
71580
|
+
# field#: 22.
|
71133
71581
|
# Corresponds to the JSON property `begin`
|
71134
71582
|
# @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeAbsoluteDateTime]
|
71135
71583
|
attr_accessor :begin
|
@@ -71158,7 +71606,7 @@ module Google
|
|
71158
71606
|
# always filled; for (minute, second, partial_second), they are optional with a
|
71159
71607
|
# zero default value. But if partial_second is filled, (minute, second) must be
|
71160
71608
|
# filled, even they are 0s; if second is filled, minute must be filled. Next
|
71161
|
-
# field#:
|
71609
|
+
# field#: 22.
|
71162
71610
|
# Corresponds to the JSON property `end`
|
71163
71611
|
# @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeAbsoluteDateTime]
|
71164
71612
|
attr_accessor :end
|
@@ -71480,7 +71928,9 @@ module Google
|
|
71480
71928
|
class NlpSemanticParsingDatetimeResolutionProperties
|
71481
71929
|
include Google::Apis::Core::Hashable
|
71482
71930
|
|
71483
|
-
# Simple enum container for exporting meridiem mentions.
|
71931
|
+
# Simple enum container for exporting meridiem mentions. Note: this is marked as
|
71932
|
+
# deprecated as we are moving to properly parse expressions with explicit
|
71933
|
+
# meridiem information.
|
71484
71934
|
# Corresponds to the JSON property `meridiem`
|
71485
71935
|
# @return [String]
|
71486
71936
|
attr_accessor :meridiem
|
@@ -71521,7 +71971,7 @@ module Google
|
|
71521
71971
|
# always filled; for (minute, second, partial_second), they are optional with a
|
71522
71972
|
# zero default value. But if partial_second is filled, (minute, second) must be
|
71523
71973
|
# filled, even they are 0s; if second is filled, minute must be filled. Next
|
71524
|
-
# field#:
|
71974
|
+
# field#: 22.
|
71525
71975
|
# Corresponds to the JSON property `base`
|
71526
71976
|
# @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeAbsoluteDateTime]
|
71527
71977
|
attr_accessor :base
|
@@ -72294,6 +72744,25 @@ module Google
|
|
72294
72744
|
end
|
72295
72745
|
end
|
72296
72746
|
|
72747
|
+
# Constraint for the health insurance network of a provider.
|
72748
|
+
class NlpSemanticParsingLocalHealthInsuranceConstraint
|
72749
|
+
include Google::Apis::Core::Hashable
|
72750
|
+
|
72751
|
+
#
|
72752
|
+
# Corresponds to the JSON property `network`
|
72753
|
+
# @return [String]
|
72754
|
+
attr_accessor :network
|
72755
|
+
|
72756
|
+
def initialize(**args)
|
72757
|
+
update!(**args)
|
72758
|
+
end
|
72759
|
+
|
72760
|
+
# Update properties of this object
|
72761
|
+
def update!(**args)
|
72762
|
+
@network = args[:network] if args.key?(:network)
|
72763
|
+
end
|
72764
|
+
end
|
72765
|
+
|
72297
72766
|
# Hotel Type used by the hotels team to differentiate sub classes of
|
72298
72767
|
# accommodations. For any questions please contact hotel-search-quality@. Next
|
72299
72768
|
# ID: 48
|
@@ -73049,7 +73518,7 @@ module Google
|
|
73049
73518
|
# location and can be nested accordingly. E.g., for a compound location the
|
73050
73519
|
# constraint may be associated with the entire location or with either of the
|
73051
73520
|
# two internal locations (loc_1 and loc_2). There is an implicit AND relation
|
73052
|
-
# between the different constraints. Next ID:
|
73521
|
+
# between the different constraints. Next ID: 24.
|
73053
73522
|
class NlpSemanticParsingLocalLocationConstraint
|
73054
73523
|
include Google::Apis::Core::Hashable
|
73055
73524
|
|
@@ -73082,6 +73551,11 @@ module Google
|
|
73082
73551
|
# @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalGcidConstraint]
|
73083
73552
|
attr_accessor :gcid_constraint
|
73084
73553
|
|
73554
|
+
# Constraint for the health insurance network of a provider.
|
73555
|
+
# Corresponds to the JSON property `healthInsurance`
|
73556
|
+
# @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalHealthInsuranceConstraint]
|
73557
|
+
attr_accessor :health_insurance
|
73558
|
+
|
73085
73559
|
# Message containing information about hyper-reliable categories. go/local-hyper-
|
73086
73560
|
# reliable
|
73087
73561
|
# Corresponds to the JSON property `hyperReliableData`
|
@@ -73192,6 +73666,7 @@ module Google
|
|
73192
73666
|
@cuisine = args[:cuisine] if args.key?(:cuisine)
|
73193
73667
|
@evcs_speed_constraint = args[:evcs_speed_constraint] if args.key?(:evcs_speed_constraint)
|
73194
73668
|
@gcid_constraint = args[:gcid_constraint] if args.key?(:gcid_constraint)
|
73669
|
+
@health_insurance = args[:health_insurance] if args.key?(:health_insurance)
|
73195
73670
|
@hyper_reliable_data = args[:hyper_reliable_data] if args.key?(:hyper_reliable_data)
|
73196
73671
|
@menu_item = args[:menu_item] if args.key?(:menu_item)
|
73197
73672
|
@new = args[:new] if args.key?(:new)
|
@@ -82067,7 +82542,8 @@ module Google
|
|
82067
82542
|
|
82068
82543
|
# Stores freshness and aging related data, such as time-related quality metrics
|
82069
82544
|
# predicted from url-pattern level signals. Use the encoding decoding API in
|
82070
|
-
# quality/freshness/docclassifier/aging/encoded-pattern-signals.h
|
82545
|
+
# quality/freshness/docclassifier/aging/encoded-pattern-signals.h This field is
|
82546
|
+
# deprecated.
|
82071
82547
|
# Corresponds to the JSON property `freshnessEncodedSignals`
|
82072
82548
|
# @return [Fixnum]
|
82073
82549
|
attr_accessor :freshness_encoded_signals
|
@@ -82187,7 +82663,7 @@ module Google
|
|
82187
82663
|
attr_accessor :noimageframeoverlayreason
|
82188
82664
|
|
82189
82665
|
# NOTE: When adding a new field to be propagated to Raffia check if
|
82190
|
-
# NsrPatternSignalSpec needs to be updated. Next ID:
|
82666
|
+
# NsrPatternSignalSpec needs to be updated. Next ID: 50
|
82191
82667
|
# Corresponds to the JSON property `nsrDataProto`
|
82192
82668
|
# @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
|
82193
82669
|
attr_accessor :nsr_data_proto
|
@@ -85579,7 +86055,7 @@ module Google
|
|
85579
86055
|
end
|
85580
86056
|
|
85581
86057
|
# A protocol buffer to store the url, referer and porn flag for a url. and an
|
85582
|
-
# optional image score. Next available tag id:
|
86058
|
+
# optional image score. Next available tag id: 51.
|
85583
86059
|
class PornFlagData
|
85584
86060
|
include Google::Apis::Core::Hashable
|
85585
86061
|
|
@@ -85638,11 +86114,6 @@ module Google
|
|
85638
86114
|
# @return [String]
|
85639
86115
|
attr_accessor :final_violence_score_version
|
85640
86116
|
|
85641
|
-
#
|
85642
|
-
# Corresponds to the JSON property `imageEntitiesViolenceScore`
|
85643
|
-
# @return [Float]
|
85644
|
-
attr_accessor :image_entities_violence_score
|
85645
|
-
|
85646
86117
|
# PornStatsImage is repeated even though we use only a single version, to help
|
85647
86118
|
# with rolling out new versions with miminum risk. Multiple versions should
|
85648
86119
|
# exist only for a short window of time. Once the new version is rolled out, the
|
@@ -85651,6 +86122,12 @@ module Google
|
|
85651
86122
|
# @return [Array<Google::Apis::ContentwarehouseV1::PornStatsImage>]
|
85652
86123
|
attr_accessor :image_stats
|
85653
86124
|
|
86125
|
+
# A proto that stores SafeSearch internal signals that are not exported to
|
86126
|
+
# clients.
|
86127
|
+
# Corresponds to the JSON property `internalSignals`
|
86128
|
+
# @return [Google::Apis::ContentwarehouseV1::SafesearchInternalImageSignals]
|
86129
|
+
attr_accessor :internal_signals
|
86130
|
+
|
85654
86131
|
# largest face, scaled by 1000 This field is same as ImageData.largest_face_frac.
|
85655
86132
|
# Corresponds to the JSON property `largestFaceFrac`
|
85656
86133
|
# @return [Float]
|
@@ -85766,16 +86243,6 @@ module Google
|
|
85766
86243
|
# @return [Float]
|
85767
86244
|
attr_accessor :semantic_sexualization_score
|
85768
86245
|
|
85769
|
-
# Additional SafeSearch signals that are used to compute final scores.
|
85770
|
-
# Corresponds to the JSON property `starburstPornScore`
|
85771
|
-
# @return [Float]
|
85772
|
-
attr_accessor :starburst_porn_score
|
85773
|
-
|
85774
|
-
#
|
85775
|
-
# Corresponds to the JSON property `starburstViolenceScore`
|
85776
|
-
# @return [Float]
|
85777
|
-
attr_accessor :starburst_violence_score
|
85778
|
-
|
85779
86246
|
# PornStatsText is repeated even though we use only a single version, to help
|
85780
86247
|
# with rolling out new versions with miminum risk. Multiple versions should
|
85781
86248
|
# exist only for a short window of time. Once the new version is rolled out, the
|
@@ -85809,8 +86276,8 @@ module Google
|
|
85809
86276
|
@final_offensive_score = args[:final_offensive_score] if args.key?(:final_offensive_score)
|
85810
86277
|
@final_violence_score = args[:final_violence_score] if args.key?(:final_violence_score)
|
85811
86278
|
@final_violence_score_version = args[:final_violence_score_version] if args.key?(:final_violence_score_version)
|
85812
|
-
@image_entities_violence_score = args[:image_entities_violence_score] if args.key?(:image_entities_violence_score)
|
85813
86279
|
@image_stats = args[:image_stats] if args.key?(:image_stats)
|
86280
|
+
@internal_signals = args[:internal_signals] if args.key?(:internal_signals)
|
85814
86281
|
@largest_face_frac = args[:largest_face_frac] if args.key?(:largest_face_frac)
|
85815
86282
|
@largest_face_fraction = args[:largest_face_fraction] if args.key?(:largest_face_fraction)
|
85816
86283
|
@number_faces = args[:number_faces] if args.key?(:number_faces)
|
@@ -85830,8 +86297,6 @@ module Google
|
|
85830
86297
|
@referer = args[:referer] if args.key?(:referer)
|
85831
86298
|
@referrer_counts = args[:referrer_counts] if args.key?(:referrer_counts)
|
85832
86299
|
@semantic_sexualization_score = args[:semantic_sexualization_score] if args.key?(:semantic_sexualization_score)
|
85833
|
-
@starburst_porn_score = args[:starburst_porn_score] if args.key?(:starburst_porn_score)
|
85834
|
-
@starburst_violence_score = args[:starburst_violence_score] if args.key?(:starburst_violence_score)
|
85835
86300
|
@text_stats = args[:text_stats] if args.key?(:text_stats)
|
85836
86301
|
@url = args[:url] if args.key?(:url)
|
85837
86302
|
@url_porn_scores = args[:url_porn_scores] if args.key?(:url_porn_scores)
|
@@ -89011,7 +89476,7 @@ module Google
|
|
89011
89476
|
end
|
89012
89477
|
|
89013
89478
|
# NOTE: When adding a new field to be propagated to Raffia check if
|
89014
|
-
# NsrPatternSignalSpec needs to be updated. Next ID:
|
89479
|
+
# NsrPatternSignalSpec needs to be updated. Next ID: 50
|
89015
89480
|
class QualityNsrNsrData
|
89016
89481
|
include Google::Apis::Core::Hashable
|
89017
89482
|
|
@@ -89025,6 +89490,16 @@ module Google
|
|
89025
89490
|
# @return [Float]
|
89026
89491
|
attr_accessor :article_score_v2
|
89027
89492
|
|
89493
|
+
# Site-level chard score: site quality predictor based on content.
|
89494
|
+
# Corresponds to the JSON property `chardEncoded`
|
89495
|
+
# @return [Fixnum]
|
89496
|
+
attr_accessor :chard_encoded
|
89497
|
+
|
89498
|
+
#
|
89499
|
+
# Corresponds to the JSON property `chardVariance`
|
89500
|
+
# @return [Float]
|
89501
|
+
attr_accessor :chard_variance
|
89502
|
+
|
89028
89503
|
# An id for defining clusters of sites. Used in ecosystem experiments (project
|
89029
89504
|
# Tundra).
|
89030
89505
|
# Corresponds to the JSON property `clusterId`
|
@@ -89042,11 +89517,36 @@ module Google
|
|
89042
89517
|
# @return [Float]
|
89043
89518
|
attr_accessor :clutter_score
|
89044
89519
|
|
89520
|
+
#
|
89521
|
+
# Corresponds to the JSON property `clutterScores`
|
89522
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
|
89523
|
+
attr_accessor :clutter_scores
|
89524
|
+
|
89525
|
+
#
|
89526
|
+
# Corresponds to the JSON property `directFrac`
|
89527
|
+
# @return [Float]
|
89528
|
+
attr_accessor :direct_frac
|
89529
|
+
|
89530
|
+
# Categorical signals.
|
89531
|
+
# Corresponds to the JSON property `healthScore`
|
89532
|
+
# @return [Float]
|
89533
|
+
attr_accessor :health_score
|
89534
|
+
|
89045
89535
|
#
|
89046
89536
|
# Corresponds to the JSON property `host`
|
89047
89537
|
# @return [String]
|
89048
89538
|
attr_accessor :host
|
89049
89539
|
|
89540
|
+
# Currently corresponds to i18n_g42_bucket.
|
89541
|
+
# Corresponds to the JSON property `i18nBucket`
|
89542
|
+
# @return [Fixnum]
|
89543
|
+
attr_accessor :i18n_bucket
|
89544
|
+
|
89545
|
+
# Site-level impressions.
|
89546
|
+
# Corresponds to the JSON property `impressions`
|
89547
|
+
# @return [Float]
|
89548
|
+
attr_accessor :impressions
|
89549
|
+
|
89050
89550
|
# Bit to determine whether the site has the local authority covid signal, as
|
89051
89551
|
# computed by go/covid-local-authority
|
89052
89552
|
# Corresponds to the JSON property `isCovidLocalAuthority`
|
@@ -89070,6 +89570,16 @@ module Google
|
|
89070
89570
|
attr_accessor :is_video_focused_site
|
89071
89571
|
alias_method :is_video_focused_site?, :is_video_focused_site
|
89072
89572
|
|
89573
|
+
#
|
89574
|
+
# Corresponds to the JSON property `language`
|
89575
|
+
# @return [Fixnum]
|
89576
|
+
attr_accessor :language
|
89577
|
+
|
89578
|
+
#
|
89579
|
+
# Corresponds to the JSON property `largeOrgId`
|
89580
|
+
# @return [Fixnum]
|
89581
|
+
attr_accessor :large_org_id
|
89582
|
+
|
89073
89583
|
# Locality score of the site, i.e. the locality component of the LocalAuthority
|
89074
89584
|
# signal (see go/pq-localauthority).
|
89075
89585
|
# Corresponds to the JSON property `localityScore`
|
@@ -89111,12 +89621,28 @@ module Google
|
|
89111
89621
|
attr_accessor :nsrdata_from_fallback_pattern_key
|
89112
89622
|
alias_method :nsrdata_from_fallback_pattern_key?, :nsrdata_from_fallback_pattern_key
|
89113
89623
|
|
89624
|
+
# Fractional signals.
|
89625
|
+
# Corresponds to the JSON property `pnav`
|
89626
|
+
# @return [Float]
|
89627
|
+
attr_accessor :pnav
|
89628
|
+
|
89629
|
+
# NSR - prior. Estimate of whether the site is above/below average NSR in its
|
89630
|
+
# slice.
|
89631
|
+
# Corresponds to the JSON property `relativeNsr`
|
89632
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
|
89633
|
+
attr_accessor :relative_nsr
|
89634
|
+
|
89114
89635
|
# Secondary NSR sitechunk. When present, it provides more granular chunking than
|
89115
89636
|
# primary sitechunks (see quality/nsr/util/sitechunker.h for details).
|
89116
89637
|
# Corresponds to the JSON property `secondarySiteChunk`
|
89117
89638
|
# @return [String]
|
89118
89639
|
attr_accessor :secondary_site_chunk
|
89119
89640
|
|
89641
|
+
#
|
89642
|
+
# Corresponds to the JSON property `shoppingScore`
|
89643
|
+
# @return [Float]
|
89644
|
+
attr_accessor :shopping_score
|
89645
|
+
|
89120
89646
|
# Aggregated value of url autopilot scores for this sitechunk.
|
89121
89647
|
# Corresponds to the JSON property `siteAutopilotScore`
|
89122
89648
|
# @return [Float]
|
@@ -89162,6 +89688,21 @@ module Google
|
|
89162
89688
|
# @return [Float]
|
89163
89689
|
attr_accessor :spambrain_lavc_score
|
89164
89690
|
|
89691
|
+
#
|
89692
|
+
# Corresponds to the JSON property `spambrainLavcScores`
|
89693
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
|
89694
|
+
attr_accessor :spambrain_lavc_scores
|
89695
|
+
|
89696
|
+
# Site-level tofu score: site quality predictor based on content.
|
89697
|
+
# Corresponds to the JSON property `tofu`
|
89698
|
+
# @return [Float]
|
89699
|
+
attr_accessor :tofu
|
89700
|
+
|
89701
|
+
#
|
89702
|
+
# Corresponds to the JSON property `ugcScore`
|
89703
|
+
# @return [Float]
|
89704
|
+
attr_accessor :ugc_score
|
89705
|
+
|
89165
89706
|
#
|
89166
89707
|
# Corresponds to the JSON property `url`
|
89167
89708
|
# @return [String]
|
@@ -89172,11 +89713,26 @@ module Google
|
|
89172
89713
|
# @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrNsrVersionedData>]
|
89173
89714
|
attr_accessor :versioned_data
|
89174
89715
|
|
89716
|
+
#
|
89717
|
+
# Corresponds to the JSON property `videoScore`
|
89718
|
+
# @return [Float]
|
89719
|
+
attr_accessor :video_score
|
89720
|
+
|
89721
|
+
# Score of the Video LQ model.
|
89722
|
+
# Corresponds to the JSON property `vlq`
|
89723
|
+
# @return [Float]
|
89724
|
+
attr_accessor :vlq
|
89725
|
+
|
89175
89726
|
# NSR from a headroom model targeting low-quality video sites.
|
89176
89727
|
# Corresponds to the JSON property `vlqNsr`
|
89177
89728
|
# @return [Float]
|
89178
89729
|
attr_accessor :vlq_nsr
|
89179
89730
|
|
89731
|
+
#
|
89732
|
+
# Corresponds to the JSON property `ymylNewsV2Score`
|
89733
|
+
# @return [Float]
|
89734
|
+
attr_accessor :ymyl_news_v2_score
|
89735
|
+
|
89180
89736
|
def initialize(**args)
|
89181
89737
|
update!(**args)
|
89182
89738
|
end
|
@@ -89185,13 +89741,22 @@ module Google
|
|
89185
89741
|
def update!(**args)
|
89186
89742
|
@article_score = args[:article_score] if args.key?(:article_score)
|
89187
89743
|
@article_score_v2 = args[:article_score_v2] if args.key?(:article_score_v2)
|
89744
|
+
@chard_encoded = args[:chard_encoded] if args.key?(:chard_encoded)
|
89745
|
+
@chard_variance = args[:chard_variance] if args.key?(:chard_variance)
|
89188
89746
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
89189
89747
|
@cluster_uplift = args[:cluster_uplift] if args.key?(:cluster_uplift)
|
89190
89748
|
@clutter_score = args[:clutter_score] if args.key?(:clutter_score)
|
89749
|
+
@clutter_scores = args[:clutter_scores] if args.key?(:clutter_scores)
|
89750
|
+
@direct_frac = args[:direct_frac] if args.key?(:direct_frac)
|
89751
|
+
@health_score = args[:health_score] if args.key?(:health_score)
|
89191
89752
|
@host = args[:host] if args.key?(:host)
|
89753
|
+
@i18n_bucket = args[:i18n_bucket] if args.key?(:i18n_bucket)
|
89754
|
+
@impressions = args[:impressions] if args.key?(:impressions)
|
89192
89755
|
@is_covid_local_authority = args[:is_covid_local_authority] if args.key?(:is_covid_local_authority)
|
89193
89756
|
@is_election_authority = args[:is_election_authority] if args.key?(:is_election_authority)
|
89194
89757
|
@is_video_focused_site = args[:is_video_focused_site] if args.key?(:is_video_focused_site)
|
89758
|
+
@language = args[:language] if args.key?(:language)
|
89759
|
+
@large_org_id = args[:large_org_id] if args.key?(:large_org_id)
|
89195
89760
|
@locality_score = args[:locality_score] if args.key?(:locality_score)
|
89196
89761
|
@metadata = args[:metadata] if args.key?(:metadata)
|
89197
89762
|
@new_nsr = args[:new_nsr] if args.key?(:new_nsr)
|
@@ -89199,7 +89764,10 @@ module Google
|
|
89199
89764
|
@nsr_override_bid = args[:nsr_override_bid] if args.key?(:nsr_override_bid)
|
89200
89765
|
@nsr_variance = args[:nsr_variance] if args.key?(:nsr_variance)
|
89201
89766
|
@nsrdata_from_fallback_pattern_key = args[:nsrdata_from_fallback_pattern_key] if args.key?(:nsrdata_from_fallback_pattern_key)
|
89767
|
+
@pnav = args[:pnav] if args.key?(:pnav)
|
89768
|
+
@relative_nsr = args[:relative_nsr] if args.key?(:relative_nsr)
|
89202
89769
|
@secondary_site_chunk = args[:secondary_site_chunk] if args.key?(:secondary_site_chunk)
|
89770
|
+
@shopping_score = args[:shopping_score] if args.key?(:shopping_score)
|
89203
89771
|
@site_autopilot_score = args[:site_autopilot_score] if args.key?(:site_autopilot_score)
|
89204
89772
|
@site_chunk = args[:site_chunk] if args.key?(:site_chunk)
|
89205
89773
|
@site_chunk_source = args[:site_chunk_source] if args.key?(:site_chunk_source)
|
@@ -89208,9 +89776,15 @@ module Google
|
|
89208
89776
|
@site_pr = args[:site_pr] if args.key?(:site_pr)
|
89209
89777
|
@site_quality_stddev = args[:site_quality_stddev] if args.key?(:site_quality_stddev)
|
89210
89778
|
@spambrain_lavc_score = args[:spambrain_lavc_score] if args.key?(:spambrain_lavc_score)
|
89779
|
+
@spambrain_lavc_scores = args[:spambrain_lavc_scores] if args.key?(:spambrain_lavc_scores)
|
89780
|
+
@tofu = args[:tofu] if args.key?(:tofu)
|
89781
|
+
@ugc_score = args[:ugc_score] if args.key?(:ugc_score)
|
89211
89782
|
@url = args[:url] if args.key?(:url)
|
89212
89783
|
@versioned_data = args[:versioned_data] if args.key?(:versioned_data)
|
89784
|
+
@video_score = args[:video_score] if args.key?(:video_score)
|
89785
|
+
@vlq = args[:vlq] if args.key?(:vlq)
|
89213
89786
|
@vlq_nsr = args[:vlq_nsr] if args.key?(:vlq_nsr)
|
89787
|
+
@ymyl_news_v2_score = args[:ymyl_news_v2_score] if args.key?(:ymyl_news_v2_score)
|
89214
89788
|
end
|
89215
89789
|
end
|
89216
89790
|
|
@@ -89262,10 +89836,15 @@ module Google
|
|
89262
89836
|
end
|
89263
89837
|
end
|
89264
89838
|
|
89265
|
-
#
|
89839
|
+
# Next id: 17
|
89266
89840
|
class QualityNsrPqData
|
89267
89841
|
include Google::Apis::Core::Hashable
|
89268
89842
|
|
89843
|
+
# URL-level chard prediction (encoded as an int).
|
89844
|
+
# Corresponds to the JSON property `chard`
|
89845
|
+
# @return [Fixnum]
|
89846
|
+
attr_accessor :chard
|
89847
|
+
|
89269
89848
|
#
|
89270
89849
|
# Corresponds to the JSON property `deltaAutopilotScore`
|
89271
89850
|
# @return [Float]
|
@@ -89281,6 +89860,11 @@ module Google
|
|
89281
89860
|
# @return [Float]
|
89282
89861
|
attr_accessor :delta_link_outgoing
|
89283
89862
|
|
89863
|
+
# The delta score of the URL-level quality predictor.
|
89864
|
+
# Corresponds to the JSON property `deltaPageQuality`
|
89865
|
+
# @return [Float]
|
89866
|
+
attr_accessor :delta_page_quality
|
89867
|
+
|
89284
89868
|
# Total deltaNSR adjustment based on subchunks. This is a page-level adjustment (
|
89285
89869
|
# subchunks are retrieved based on the page classification).
|
89286
89870
|
# Corresponds to the JSON property `deltaSubchunkAdjustment`
|
@@ -89297,6 +89881,11 @@ module Google
|
|
89297
89881
|
# @return [Float]
|
89298
89882
|
attr_accessor :link_outgoing
|
89299
89883
|
|
89884
|
+
# The total number of offdomain anchors seen by the NSR pipeline for this page.
|
89885
|
+
# Corresponds to the JSON property `numOffdomainAnchors`
|
89886
|
+
# @return [Float]
|
89887
|
+
attr_accessor :num_offdomain_anchors
|
89888
|
+
|
89300
89889
|
#
|
89301
89890
|
# Corresponds to the JSON property `page2vecLq`
|
89302
89891
|
# @return [Float]
|
@@ -89307,26 +89896,41 @@ module Google
|
|
89307
89896
|
# @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrPqDataSubchunkData>]
|
89308
89897
|
attr_accessor :subchunk_data
|
89309
89898
|
|
89899
|
+
# URL-level tofu prediction.
|
89900
|
+
# Corresponds to the JSON property `tofu`
|
89901
|
+
# @return [Float]
|
89902
|
+
attr_accessor :tofu
|
89903
|
+
|
89310
89904
|
#
|
89311
89905
|
# Corresponds to the JSON property `urlAutopilotScore`
|
89312
89906
|
# @return [Float]
|
89313
89907
|
attr_accessor :url_autopilot_score
|
89314
89908
|
|
89909
|
+
# URL-level score of the VLQ model.
|
89910
|
+
# Corresponds to the JSON property `vlq`
|
89911
|
+
# @return [Float]
|
89912
|
+
attr_accessor :vlq
|
89913
|
+
|
89315
89914
|
def initialize(**args)
|
89316
89915
|
update!(**args)
|
89317
89916
|
end
|
89318
89917
|
|
89319
89918
|
# Update properties of this object
|
89320
89919
|
def update!(**args)
|
89920
|
+
@chard = args[:chard] if args.key?(:chard)
|
89321
89921
|
@delta_autopilot_score = args[:delta_autopilot_score] if args.key?(:delta_autopilot_score)
|
89322
89922
|
@delta_link_incoming = args[:delta_link_incoming] if args.key?(:delta_link_incoming)
|
89323
89923
|
@delta_link_outgoing = args[:delta_link_outgoing] if args.key?(:delta_link_outgoing)
|
89924
|
+
@delta_page_quality = args[:delta_page_quality] if args.key?(:delta_page_quality)
|
89324
89925
|
@delta_subchunk_adjustment = args[:delta_subchunk_adjustment] if args.key?(:delta_subchunk_adjustment)
|
89325
89926
|
@link_incoming = args[:link_incoming] if args.key?(:link_incoming)
|
89326
89927
|
@link_outgoing = args[:link_outgoing] if args.key?(:link_outgoing)
|
89928
|
+
@num_offdomain_anchors = args[:num_offdomain_anchors] if args.key?(:num_offdomain_anchors)
|
89327
89929
|
@page2vec_lq = args[:page2vec_lq] if args.key?(:page2vec_lq)
|
89328
89930
|
@subchunk_data = args[:subchunk_data] if args.key?(:subchunk_data)
|
89931
|
+
@tofu = args[:tofu] if args.key?(:tofu)
|
89329
89932
|
@url_autopilot_score = args[:url_autopilot_score] if args.key?(:url_autopilot_score)
|
89933
|
+
@vlq = args[:vlq] if args.key?(:vlq)
|
89330
89934
|
end
|
89331
89935
|
end
|
89332
89936
|
|
@@ -89368,6 +89972,31 @@ module Google
|
|
89368
89972
|
end
|
89369
89973
|
end
|
89370
89974
|
|
89975
|
+
#
|
89976
|
+
class QualityNsrVersionedFloatSignal
|
89977
|
+
include Google::Apis::Core::Hashable
|
89978
|
+
|
89979
|
+
# The corresponding float value.
|
89980
|
+
# Corresponds to the JSON property `value`
|
89981
|
+
# @return [Float]
|
89982
|
+
attr_accessor :value
|
89983
|
+
|
89984
|
+
# Unique version id.
|
89985
|
+
# Corresponds to the JSON property `versionId`
|
89986
|
+
# @return [Fixnum]
|
89987
|
+
attr_accessor :version_id
|
89988
|
+
|
89989
|
+
def initialize(**args)
|
89990
|
+
update!(**args)
|
89991
|
+
end
|
89992
|
+
|
89993
|
+
# Update properties of this object
|
89994
|
+
def update!(**args)
|
89995
|
+
@value = args[:value] if args.key?(:value)
|
89996
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
89997
|
+
end
|
89998
|
+
end
|
89999
|
+
|
89371
90000
|
#
|
89372
90001
|
class QualityOrbitAsteroidBeltDocumentIntentScores
|
89373
90002
|
include Google::Apis::Core::Hashable
|
@@ -91797,12 +92426,11 @@ module Google
|
|
91797
92426
|
# @return [String]
|
91798
92427
|
attr_accessor :non_displayable_currency
|
91799
92428
|
|
91800
|
-
#
|
91801
|
-
#
|
91802
|
-
#
|
91803
|
-
#
|
91804
|
-
|
91805
|
-
attr_accessor :non_displayable_organic_mscore
|
92429
|
+
# Normalized riskiness score for Organic destinations. It's in range [0,1000]
|
92430
|
+
# with 0 being the worst score and 1000 being the best.
|
92431
|
+
# Corresponds to the JSON property `nonDisplayableOrganicScoreMillis`
|
92432
|
+
# @return [Fixnum]
|
92433
|
+
attr_accessor :non_displayable_organic_score_millis
|
91806
92434
|
|
91807
92435
|
#
|
91808
92436
|
# Corresponds to the JSON property `offerDocid`
|
@@ -91835,7 +92463,7 @@ module Google
|
|
91835
92463
|
@merchant_item_id = args[:merchant_item_id] if args.key?(:merchant_item_id)
|
91836
92464
|
@non_displayable_brand_merchant_relationship = args[:non_displayable_brand_merchant_relationship] if args.key?(:non_displayable_brand_merchant_relationship)
|
91837
92465
|
@non_displayable_currency = args[:non_displayable_currency] if args.key?(:non_displayable_currency)
|
91838
|
-
@
|
92466
|
+
@non_displayable_organic_score_millis = args[:non_displayable_organic_score_millis] if args.key?(:non_displayable_organic_score_millis)
|
91839
92467
|
@offer_docid = args[:offer_docid] if args.key?(:offer_docid)
|
91840
92468
|
@ref_type = args[:ref_type] if args.key?(:ref_type)
|
91841
92469
|
@sori_version_id = args[:sori_version_id] if args.key?(:sori_version_id)
|
@@ -91968,7 +92596,7 @@ module Google
|
|
91968
92596
|
include Google::Apis::Core::Hashable
|
91969
92597
|
|
91970
92598
|
# Information about a rating provided for a product. This can represent an
|
91971
|
-
# aggregated rating if count is set. Next Id:
|
92599
|
+
# aggregated rating if count is set. Next Id: 7
|
91972
92600
|
# Corresponds to the JSON property `aggregateRating`
|
91973
92601
|
# @return [Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationProductRating]
|
91974
92602
|
attr_accessor :aggregate_rating
|
@@ -91983,12 +92611,6 @@ module Google
|
|
91983
92611
|
# @return [Fixnum]
|
91984
92612
|
attr_accessor :catalog_id
|
91985
92613
|
|
91986
|
-
#
|
91987
|
-
# Corresponds to the JSON property `encodedProductSalientTerms`
|
91988
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
91989
|
-
# @return [String]
|
91990
|
-
attr_accessor :encoded_product_salient_terms
|
91991
|
-
|
91992
92614
|
#
|
91993
92615
|
# Corresponds to the JSON property `globalProductClusterId`
|
91994
92616
|
# @return [Fixnum]
|
@@ -92054,7 +92676,6 @@ module Google
|
|
92054
92676
|
@aggregate_rating = args[:aggregate_rating] if args.key?(:aggregate_rating)
|
92055
92677
|
@brand_entity_id = args[:brand_entity_id] if args.key?(:brand_entity_id)
|
92056
92678
|
@catalog_id = args[:catalog_id] if args.key?(:catalog_id)
|
92057
|
-
@encoded_product_salient_terms = args[:encoded_product_salient_terms] if args.key?(:encoded_product_salient_terms)
|
92058
92679
|
@global_product_cluster_id = args[:global_product_cluster_id] if args.key?(:global_product_cluster_id)
|
92059
92680
|
@locale = args[:locale] if args.key?(:locale)
|
92060
92681
|
@moka_facet = args[:moka_facet] if args.key?(:moka_facet)
|
@@ -93937,47 +94558,6 @@ module Google
|
|
93937
94558
|
end
|
93938
94559
|
end
|
93939
94560
|
|
93940
|
-
# Represents a unique id for each entity. It contains the domain, entity type
|
93941
|
-
# and a legacy_id that is unique within that space. This protocol buffer stems
|
93942
|
-
# from a time when we were building our model based on entities from different
|
93943
|
-
# sources. Nowadays the domain_name and entity_type_name can be ignored and the
|
93944
|
-
# legacy_id is the Knowledge Graph mid except in some WebRef internal pipelines
|
93945
|
-
# such as reconciliation where it is still a vertical specific id. Current
|
93946
|
-
# usages (see GetKey and SetKey in entity-join-util.cc): domain_name = "
|
93947
|
-
# FreebaseDomain", entity_type_name = "Topic" domain_name = "GeoDomain",
|
93948
|
-
# entity_type_name = "Geo" domain_name = "ProductsDomain", entity_type_name = "
|
93949
|
-
# Product" domain_name = "ProductsDomain", entity_type_name = "ProductCluster"
|
93950
|
-
# domain_name = "UniversalDomain", entity_type_name = "Concept"
|
93951
|
-
class RepositoryWebrefAbsoluteLegacyId
|
93952
|
-
include Google::Apis::Core::Hashable
|
93953
|
-
|
93954
|
-
#
|
93955
|
-
# Corresponds to the JSON property `domainName`
|
93956
|
-
# @return [String]
|
93957
|
-
attr_accessor :domain_name
|
93958
|
-
|
93959
|
-
#
|
93960
|
-
# Corresponds to the JSON property `entityTypeName`
|
93961
|
-
# @return [String]
|
93962
|
-
attr_accessor :entity_type_name
|
93963
|
-
|
93964
|
-
#
|
93965
|
-
# Corresponds to the JSON property `legacyId`
|
93966
|
-
# @return [String]
|
93967
|
-
attr_accessor :legacy_id
|
93968
|
-
|
93969
|
-
def initialize(**args)
|
93970
|
-
update!(**args)
|
93971
|
-
end
|
93972
|
-
|
93973
|
-
# Update properties of this object
|
93974
|
-
def update!(**args)
|
93975
|
-
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
93976
|
-
@entity_type_name = args[:entity_type_name] if args.key?(:entity_type_name)
|
93977
|
-
@legacy_id = args[:legacy_id] if args.key?(:legacy_id)
|
93978
|
-
end
|
93979
|
-
end
|
93980
|
-
|
93981
94561
|
# Represents the aggregated score of the entities for a given name, aggregated
|
93982
94562
|
# over all sources. Next available tag: 3.
|
93983
94563
|
class RepositoryWebrefAggregatedEntityNameScores
|
@@ -94433,16 +95013,6 @@ module Google
|
|
94433
95013
|
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefFreebaseType>]
|
94434
95014
|
attr_accessor :all_types
|
94435
95015
|
|
94436
|
-
# verticals4 categories that describe this entity.
|
94437
|
-
# Corresponds to the JSON property `fatcatCategory`
|
94438
|
-
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefFatcatCategory>]
|
94439
|
-
attr_accessor :fatcat_category
|
94440
|
-
|
94441
|
-
# verticals4 categories that describe the context of the entity.
|
94442
|
-
# Corresponds to the JSON property `fatcatContext`
|
94443
|
-
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefFatcatCategory>]
|
94444
|
-
attr_accessor :fatcat_context
|
94445
|
-
|
94446
95016
|
#
|
94447
95017
|
# Corresponds to the JSON property `freebaseType`
|
94448
95018
|
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefFreebaseType>]
|
@@ -94482,8 +95052,6 @@ module Google
|
|
94482
95052
|
# Update properties of this object
|
94483
95053
|
def update!(**args)
|
94484
95054
|
@all_types = args[:all_types] if args.key?(:all_types)
|
94485
|
-
@fatcat_category = args[:fatcat_category] if args.key?(:fatcat_category)
|
94486
|
-
@fatcat_context = args[:fatcat_context] if args.key?(:fatcat_context)
|
94487
95055
|
@freebase_type = args[:freebase_type] if args.key?(:freebase_type)
|
94488
95056
|
@kg_collection = args[:kg_collection] if args.key?(:kg_collection)
|
94489
95057
|
@oyster_type = args[:oyster_type] if args.key?(:oyster_type)
|
@@ -94615,8 +95183,7 @@ module Google
|
|
94615
95183
|
# @return [String]
|
94616
95184
|
attr_accessor :relation
|
94617
95185
|
|
94618
|
-
#
|
94619
|
-
# contribute its id to the id of the cluster.
|
95186
|
+
# No longer set.
|
94620
95187
|
# Corresponds to the JSON property `sequenceId`
|
94621
95188
|
# @return [Fixnum]
|
94622
95189
|
attr_accessor :sequence_id
|
@@ -95490,14 +96057,6 @@ module Google
|
|
95490
96057
|
class RepositoryWebrefEntityDebugInfo
|
95491
96058
|
include Google::Apis::Core::Hashable
|
95492
96059
|
|
95493
|
-
# Internal flag to mark this data as restricted. This flag should never be set
|
95494
|
-
# in data in the final entityjoins, it is only used during the preprocessing
|
95495
|
-
# pipeline.
|
95496
|
-
# Corresponds to the JSON property `containsRestrictedData`
|
95497
|
-
# @return [Boolean]
|
95498
|
-
attr_accessor :contains_restricted_data
|
95499
|
-
alias_method :contains_restricted_data?, :contains_restricted_data
|
95500
|
-
|
95501
96060
|
# A human-readable description of the entity. This can range from brief, machine-
|
95502
96061
|
# generated notes to lengthy human-written paragraphs from Wikipedia.
|
95503
96062
|
# Corresponds to the JSON property `description`
|
@@ -95532,7 +96091,6 @@ module Google
|
|
95532
96091
|
|
95533
96092
|
# Update properties of this object
|
95534
96093
|
def update!(**args)
|
95535
|
-
@contains_restricted_data = args[:contains_restricted_data] if args.key?(:contains_restricted_data)
|
95536
96094
|
@description = args[:description] if args.key?(:description)
|
95537
96095
|
@language = args[:language] if args.key?(:language)
|
95538
96096
|
@score = args[:score] if args.key?(:score)
|
@@ -95624,21 +96182,6 @@ module Google
|
|
95624
96182
|
# @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameSignals]
|
95625
96183
|
attr_accessor :name_signals
|
95626
96184
|
|
95627
|
-
# Represents a unique id for each entity. It contains the domain, entity type
|
95628
|
-
# and a legacy_id that is unique within that space. This protocol buffer stems
|
95629
|
-
# from a time when we were building our model based on entities from different
|
95630
|
-
# sources. Nowadays the domain_name and entity_type_name can be ignored and the
|
95631
|
-
# legacy_id is the Knowledge Graph mid except in some WebRef internal pipelines
|
95632
|
-
# such as reconciliation where it is still a vertical specific id. Current
|
95633
|
-
# usages (see GetKey and SetKey in entity-join-util.cc): domain_name = "
|
95634
|
-
# FreebaseDomain", entity_type_name = "Topic" domain_name = "GeoDomain",
|
95635
|
-
# entity_type_name = "Geo" domain_name = "ProductsDomain", entity_type_name = "
|
95636
|
-
# Product" domain_name = "ProductsDomain", entity_type_name = "ProductCluster"
|
95637
|
-
# domain_name = "UniversalDomain", entity_type_name = "Concept"
|
95638
|
-
# Corresponds to the JSON property `preprocessingId`
|
95639
|
-
# @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefAbsoluteLegacyId]
|
95640
|
-
attr_accessor :preprocessing_id
|
95641
|
-
|
95642
96185
|
# Contains names and names metadata used by Refcon.
|
95643
96186
|
# Corresponds to the JSON property `refconNameInfo`
|
95644
96187
|
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefRefconRefconNameInfo>]
|
@@ -95671,7 +96214,6 @@ module Google
|
|
95671
96214
|
@link_info = args[:link_info] if args.key?(:link_info)
|
95672
96215
|
@name_info = args[:name_info] if args.key?(:name_info)
|
95673
96216
|
@name_signals = args[:name_signals] if args.key?(:name_signals)
|
95674
|
-
@preprocessing_id = args[:preprocessing_id] if args.key?(:preprocessing_id)
|
95675
96217
|
@refcon_name_info = args[:refcon_name_info] if args.key?(:refcon_name_info)
|
95676
96218
|
@representation = args[:representation] if args.key?(:representation)
|
95677
96219
|
end
|
@@ -96264,12 +96806,6 @@ module Google
|
|
96264
96806
|
class RepositoryWebrefFatcatCategory
|
96265
96807
|
include Google::Apis::Core::Hashable
|
96266
96808
|
|
96267
|
-
# Category normalized name (for debug purposes). For example, for category "/
|
96268
|
-
# Beauty & Fitness" the debug_id would be "beauty_and_fitness".
|
96269
|
-
# Corresponds to the JSON property `debugId`
|
96270
|
-
# @return [String]
|
96271
|
-
attr_accessor :debug_id
|
96272
|
-
|
96273
96809
|
# The category ID from verticals4. See go/verticals4 and where we read them in
|
96274
96810
|
# http://google3/repository/webref/preprocessing/fatcat-categories.cc
|
96275
96811
|
# Corresponds to the JSON property `id`
|
@@ -96287,7 +96823,6 @@ module Google
|
|
96287
96823
|
|
96288
96824
|
# Update properties of this object
|
96289
96825
|
def update!(**args)
|
96290
|
-
@debug_id = args[:debug_id] if args.key?(:debug_id)
|
96291
96826
|
@id = args[:id] if args.key?(:id)
|
96292
96827
|
@score = args[:score] if args.key?(:score)
|
96293
96828
|
end
|
@@ -103401,6 +103936,38 @@ module Google
|
|
103401
103936
|
end
|
103402
103937
|
end
|
103403
103938
|
|
103939
|
+
# A proto that stores SafeSearch internal signals that are not exported to
|
103940
|
+
# clients.
|
103941
|
+
class SafesearchInternalImageSignals
|
103942
|
+
include Google::Apis::Core::Hashable
|
103943
|
+
|
103944
|
+
#
|
103945
|
+
# Corresponds to the JSON property `imageEntitiesViolenceScore`
|
103946
|
+
# @return [Float]
|
103947
|
+
attr_accessor :image_entities_violence_score
|
103948
|
+
|
103949
|
+
# Additional SafeSearch signals that are used to compute final scores.
|
103950
|
+
# Corresponds to the JSON property `starburstPornScore`
|
103951
|
+
# @return [Float]
|
103952
|
+
attr_accessor :starburst_porn_score
|
103953
|
+
|
103954
|
+
#
|
103955
|
+
# Corresponds to the JSON property `starburstViolenceScore`
|
103956
|
+
# @return [Float]
|
103957
|
+
attr_accessor :starburst_violence_score
|
103958
|
+
|
103959
|
+
def initialize(**args)
|
103960
|
+
update!(**args)
|
103961
|
+
end
|
103962
|
+
|
103963
|
+
# Update properties of this object
|
103964
|
+
def update!(**args)
|
103965
|
+
@image_entities_violence_score = args[:image_entities_violence_score] if args.key?(:image_entities_violence_score)
|
103966
|
+
@starburst_porn_score = args[:starburst_porn_score] if args.key?(:starburst_porn_score)
|
103967
|
+
@starburst_violence_score = args[:starburst_violence_score] if args.key?(:starburst_violence_score)
|
103968
|
+
end
|
103969
|
+
end
|
103970
|
+
|
103404
103971
|
# Flexible multi-vertical classification output. The output for each vertical
|
103405
103972
|
# should be defined as a proto extension to this proto. When defining an
|
103406
103973
|
# extension for a new vertical please follow the format: message NewVertical `
|
@@ -104776,8 +105343,15 @@ module Google
|
|
104776
105343
|
# @return [String]
|
104777
105344
|
attr_accessor :agency_name
|
104778
105345
|
|
105346
|
+
# Funding entries for the same agency and grant number can be merged during our
|
105347
|
+
# extraction process so we maintain a record of all the deduped ExtractionInfo
|
105348
|
+
# messages within the remaining entry.
|
105349
|
+
# Corresponds to the JSON property `DebugExtractionInfo`
|
105350
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::ScienceCitationFundingExtractionInfo>]
|
105351
|
+
attr_accessor :debug_extraction_info
|
105352
|
+
|
104779
105353
|
# Text block from which the funding entry was extracted. Intended to be used for
|
104780
|
-
# offline analysis.
|
105354
|
+
# offline analysis. DEPRECATED
|
104781
105355
|
# Corresponds to the JSON property `DebugFundingTextBlock`
|
104782
105356
|
# @return [String]
|
104783
105357
|
attr_accessor :debug_funding_text_block
|
@@ -104812,6 +105386,7 @@ module Google
|
|
104812
105386
|
def update!(**args)
|
104813
105387
|
@agency = args[:agency] if args.key?(:agency)
|
104814
105388
|
@agency_name = args[:agency_name] if args.key?(:agency_name)
|
105389
|
+
@debug_extraction_info = args[:debug_extraction_info] if args.key?(:debug_extraction_info)
|
104815
105390
|
@debug_funding_text_block = args[:debug_funding_text_block] if args.key?(:debug_funding_text_block)
|
104816
105391
|
@grant_number = args[:grant_number] if args.key?(:grant_number)
|
104817
105392
|
@recipient = args[:recipient] if args.key?(:recipient)
|
@@ -104820,6 +105395,44 @@ module Google
|
|
104820
105395
|
end
|
104821
105396
|
end
|
104822
105397
|
|
105398
|
+
# Holds information about the source of the funding entry.
|
105399
|
+
class ScienceCitationFundingExtractionInfo
|
105400
|
+
include Google::Apis::Core::Hashable
|
105401
|
+
|
105402
|
+
# Text block context from which the funding entry was extracted. Optionally
|
105403
|
+
# filled and intended to be used for offline analysis.
|
105404
|
+
# Corresponds to the JSON property `DebugFundingTextBlock`
|
105405
|
+
# @return [String]
|
105406
|
+
attr_accessor :debug_funding_text_block
|
105407
|
+
|
105408
|
+
#
|
105409
|
+
# Corresponds to the JSON property `DocPart`
|
105410
|
+
# @return [String]
|
105411
|
+
attr_accessor :doc_part
|
105412
|
+
|
105413
|
+
#
|
105414
|
+
# Corresponds to the JSON property `ParseSection`
|
105415
|
+
# @return [String]
|
105416
|
+
attr_accessor :parse_section
|
105417
|
+
|
105418
|
+
#
|
105419
|
+
# Corresponds to the JSON property `Source`
|
105420
|
+
# @return [String]
|
105421
|
+
attr_accessor :source
|
105422
|
+
|
105423
|
+
def initialize(**args)
|
105424
|
+
update!(**args)
|
105425
|
+
end
|
105426
|
+
|
105427
|
+
# Update properties of this object
|
105428
|
+
def update!(**args)
|
105429
|
+
@debug_funding_text_block = args[:debug_funding_text_block] if args.key?(:debug_funding_text_block)
|
105430
|
+
@doc_part = args[:doc_part] if args.key?(:doc_part)
|
105431
|
+
@parse_section = args[:parse_section] if args.key?(:parse_section)
|
105432
|
+
@source = args[:source] if args.key?(:source)
|
105433
|
+
end
|
105434
|
+
end
|
105435
|
+
|
104823
105436
|
# If this is a source document, the levels of discussion of the references this
|
104824
105437
|
# document cites.
|
104825
105438
|
class ScienceCitationReferenceDiscussion
|
@@ -107023,7 +107636,7 @@ module Google
|
|
107023
107636
|
end
|
107024
107637
|
|
107025
107638
|
# Information about a rating provided for a product. This can represent an
|
107026
|
-
# aggregated rating if count is set. Next Id:
|
107639
|
+
# aggregated rating if count is set. Next Id: 7
|
107027
107640
|
class ShoppingWebentityShoppingAnnotationProductRating
|
107028
107641
|
include Google::Apis::Core::Hashable
|
107029
107642
|
|
@@ -107034,6 +107647,18 @@ module Google
|
|
107034
107647
|
# @return [Fixnum]
|
107035
107648
|
attr_accessor :count
|
107036
107649
|
|
107650
|
+
#
|
107651
|
+
# Corresponds to the JSON property `maxValueMillis`
|
107652
|
+
# @return [Fixnum]
|
107653
|
+
attr_accessor :max_value_millis
|
107654
|
+
|
107655
|
+
# The lower and upper bounds of the rating values that could be submitted for
|
107656
|
+
# the product. (Note that it is not the min/max ratings submitted for the
|
107657
|
+
# product, it is the min/max that can hypothetically be submitted.)
|
107658
|
+
# Corresponds to the JSON property `minValueMillis`
|
107659
|
+
# @return [Fixnum]
|
107660
|
+
attr_accessor :min_value_millis
|
107661
|
+
|
107037
107662
|
#
|
107038
107663
|
# Corresponds to the JSON property `source`
|
107039
107664
|
# @return [String]
|
@@ -107045,6 +107670,11 @@ module Google
|
|
107045
107670
|
# @return [Float]
|
107046
107671
|
attr_accessor :value
|
107047
107672
|
|
107673
|
+
# The non-normalized aggregated value of the ratings for this product.
|
107674
|
+
# Corresponds to the JSON property `valueMillis`
|
107675
|
+
# @return [Fixnum]
|
107676
|
+
attr_accessor :value_millis
|
107677
|
+
|
107048
107678
|
def initialize(**args)
|
107049
107679
|
update!(**args)
|
107050
107680
|
end
|
@@ -107052,8 +107682,11 @@ module Google
|
|
107052
107682
|
# Update properties of this object
|
107053
107683
|
def update!(**args)
|
107054
107684
|
@count = args[:count] if args.key?(:count)
|
107685
|
+
@max_value_millis = args[:max_value_millis] if args.key?(:max_value_millis)
|
107686
|
+
@min_value_millis = args[:min_value_millis] if args.key?(:min_value_millis)
|
107055
107687
|
@source = args[:source] if args.key?(:source)
|
107056
107688
|
@value = args[:value] if args.key?(:value)
|
107689
|
+
@value_millis = args[:value_millis] if args.key?(:value_millis)
|
107057
107690
|
end
|
107058
107691
|
end
|
107059
107692
|
|
@@ -107554,8 +108187,7 @@ module Google
|
|
107554
108187
|
end
|
107555
108188
|
end
|
107556
108189
|
|
107557
|
-
#
|
107558
|
-
# ID: 11
|
108190
|
+
#
|
107559
108191
|
class SnippetExtraInfo
|
107560
108192
|
include Google::Apis::Core::Hashable
|
107561
108193
|
|
@@ -107589,6 +108221,12 @@ module Google
|
|
107589
108221
|
# @return [Fixnum]
|
107590
108222
|
attr_accessor :snippet_brain_selected_candidate_index
|
107591
108223
|
|
108224
|
+
# Log model name, partition and input processor used to generate SnippetsBrain
|
108225
|
+
# scores, if SnippetsBrain debugging is enabled.
|
108226
|
+
# Corresponds to the JSON property `snippetsbrainModelInfo`
|
108227
|
+
# @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetsBrainModelInfo]
|
108228
|
+
attr_accessor :snippetsbrain_model_info
|
108229
|
+
|
107592
108230
|
def initialize(**args)
|
107593
108231
|
update!(**args)
|
107594
108232
|
end
|
@@ -107600,6 +108238,7 @@ module Google
|
|
107600
108238
|
@contain_vulgar_candidates = args[:contain_vulgar_candidates] if args.key?(:contain_vulgar_candidates)
|
107601
108239
|
@disable_query_features = args[:disable_query_features] if args.key?(:disable_query_features)
|
107602
108240
|
@snippet_brain_selected_candidate_index = args[:snippet_brain_selected_candidate_index] if args.key?(:snippet_brain_selected_candidate_index)
|
108241
|
+
@snippetsbrain_model_info = args[:snippetsbrain_model_info] if args.key?(:snippetsbrain_model_info)
|
107603
108242
|
end
|
107604
108243
|
end
|
107605
108244
|
|
@@ -107645,11 +108284,6 @@ module Google
|
|
107645
108284
|
# @return [Array<String>]
|
107646
108285
|
attr_accessor :snippet
|
107647
108286
|
|
107648
|
-
#
|
107649
|
-
# Corresponds to the JSON property `snippetSource`
|
107650
|
-
# @return [String]
|
107651
|
-
attr_accessor :snippet_source
|
107652
|
-
|
107653
108287
|
# `snippet_text` will be filled by snippet brain flow in SR for model scoring
|
107654
108288
|
# and debugging purpose.
|
107655
108289
|
# Corresponds to the JSON property `snippetText`
|
@@ -107673,7 +108307,6 @@ module Google
|
|
107673
108307
|
@list_info = args[:list_info] if args.key?(:list_info)
|
107674
108308
|
@scoring_info = args[:scoring_info] if args.key?(:scoring_info)
|
107675
108309
|
@snippet = args[:snippet] if args.key?(:snippet)
|
107676
|
-
@snippet_source = args[:snippet_source] if args.key?(:snippet_source)
|
107677
108310
|
@snippet_text = args[:snippet_text] if args.key?(:snippet_text)
|
107678
108311
|
@snippet_type = args[:snippet_type] if args.key?(:snippet_type)
|
107679
108312
|
end
|
@@ -107723,6 +108356,38 @@ module Google
|
|
107723
108356
|
end
|
107724
108357
|
end
|
107725
108358
|
|
108359
|
+
# Log model name, partition and input processor used to generate SnippetsBrain
|
108360
|
+
# scores, if SnippetsBrain debugging is enabled.
|
108361
|
+
class SnippetExtraInfoSnippetsBrainModelInfo
|
108362
|
+
include Google::Apis::Core::Hashable
|
108363
|
+
|
108364
|
+
# The below fields are populated by SnippetFlow in superroot.
|
108365
|
+
# Corresponds to the JSON property `snippetsbrainModelName`
|
108366
|
+
# @return [String]
|
108367
|
+
attr_accessor :snippetsbrain_model_name
|
108368
|
+
|
108369
|
+
#
|
108370
|
+
# Corresponds to the JSON property `snippetsbrainModelPartition`
|
108371
|
+
# @return [String]
|
108372
|
+
attr_accessor :snippetsbrain_model_partition
|
108373
|
+
|
108374
|
+
#
|
108375
|
+
# Corresponds to the JSON property `snippetsbrainTokenizerType`
|
108376
|
+
# @return [String]
|
108377
|
+
attr_accessor :snippetsbrain_tokenizer_type
|
108378
|
+
|
108379
|
+
def initialize(**args)
|
108380
|
+
update!(**args)
|
108381
|
+
end
|
108382
|
+
|
108383
|
+
# Update properties of this object
|
108384
|
+
def update!(**args)
|
108385
|
+
@snippetsbrain_model_name = args[:snippetsbrain_model_name] if args.key?(:snippetsbrain_model_name)
|
108386
|
+
@snippetsbrain_model_partition = args[:snippetsbrain_model_partition] if args.key?(:snippetsbrain_model_partition)
|
108387
|
+
@snippetsbrain_tokenizer_type = args[:snippetsbrain_tokenizer_type] if args.key?(:snippetsbrain_tokenizer_type)
|
108388
|
+
end
|
108389
|
+
end
|
108390
|
+
|
107726
108391
|
# Leading text which may consist of multiple pieces.
|
107727
108392
|
class SnippetsLeadingtextLeadingTextAnnotation
|
107728
108393
|
include Google::Apis::Core::Hashable
|
@@ -108384,6 +109049,27 @@ module Google
|
|
108384
109049
|
end
|
108385
109050
|
end
|
108386
109051
|
|
109052
|
+
#
|
109053
|
+
class SocialGraphApiProtoContactPromptSettings
|
109054
|
+
include Google::Apis::Core::Hashable
|
109055
|
+
|
109056
|
+
# Indicates if any reminders are active for entire contact. This will affect
|
109057
|
+
# both connection reminders and date reminders such as birthday reminders. This
|
109058
|
+
# is required.
|
109059
|
+
# Corresponds to the JSON property `contactActiveState`
|
109060
|
+
# @return [String]
|
109061
|
+
attr_accessor :contact_active_state
|
109062
|
+
|
109063
|
+
def initialize(**args)
|
109064
|
+
update!(**args)
|
109065
|
+
end
|
109066
|
+
|
109067
|
+
# Update properties of this object
|
109068
|
+
def update!(**args)
|
109069
|
+
@contact_active_state = args[:contact_active_state] if args.key?(:contact_active_state)
|
109070
|
+
end
|
109071
|
+
end
|
109072
|
+
|
108387
109073
|
# Contact state and related metadata. See go/fbs-contacts-trash.
|
108388
109074
|
class SocialGraphApiProtoContactState
|
108389
109075
|
include Google::Apis::Core::Hashable
|
@@ -108412,6 +109098,21 @@ module Google
|
|
108412
109098
|
end
|
108413
109099
|
end
|
108414
109100
|
|
109101
|
+
# Pattern for a DAILY (or every N day) recurrence. Time of the day that the
|
109102
|
+
# notification will occur is taken from the Prompt that owns this recurrence.
|
109103
|
+
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109104
|
+
class SocialGraphApiProtoDailyRecurrence
|
109105
|
+
include Google::Apis::Core::Hashable
|
109106
|
+
|
109107
|
+
def initialize(**args)
|
109108
|
+
update!(**args)
|
109109
|
+
end
|
109110
|
+
|
109111
|
+
# Update properties of this object
|
109112
|
+
def update!(**args)
|
109113
|
+
end
|
109114
|
+
end
|
109115
|
+
|
108415
109116
|
# Represents a delegated group id, delegated groups refer to groups that are
|
108416
109117
|
# owned by another gaiaId, but this user has access to.
|
108417
109118
|
class SocialGraphApiProtoDelegatedGroupId
|
@@ -108596,6 +109297,135 @@ module Google
|
|
108596
109297
|
end
|
108597
109298
|
end
|
108598
109299
|
|
109300
|
+
# Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1.
|
109301
|
+
# Absolute days of the month (i.e. the 1st and 15th) 2. Relative day from the
|
109302
|
+
# end of the month (i.e. -1 for last day, -2 for second-to-last day). Used in
|
109303
|
+
# PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109304
|
+
class SocialGraphApiProtoMonthlyDayRecurrence
|
109305
|
+
include Google::Apis::Core::Hashable
|
109306
|
+
|
109307
|
+
# Absolute day of the month (if positive) or relative day from the end of the
|
109308
|
+
# month (if negative). Example: 2nd and 20th of the month [2, 20]. Example: Last
|
109309
|
+
# day of the month [-1]. Positive values should correspond to actual calendar
|
109310
|
+
# day number (indexing starts at 1).
|
109311
|
+
# Corresponds to the JSON property `monthDay`
|
109312
|
+
# @return [Array<Fixnum>]
|
109313
|
+
attr_accessor :month_day
|
109314
|
+
|
109315
|
+
# If true, month_day beyond the end of month (i.e. month_day=31 in February)
|
109316
|
+
# will default to the last day of the month.
|
109317
|
+
# Corresponds to the JSON property `useLastDayIfMonthDayPastEnd`
|
109318
|
+
# @return [Boolean]
|
109319
|
+
attr_accessor :use_last_day_if_month_day_past_end
|
109320
|
+
alias_method :use_last_day_if_month_day_past_end?, :use_last_day_if_month_day_past_end
|
109321
|
+
|
109322
|
+
def initialize(**args)
|
109323
|
+
update!(**args)
|
109324
|
+
end
|
109325
|
+
|
109326
|
+
# Update properties of this object
|
109327
|
+
def update!(**args)
|
109328
|
+
@month_day = args[:month_day] if args.key?(:month_day)
|
109329
|
+
@use_last_day_if_month_day_past_end = args[:use_last_day_if_month_day_past_end] if args.key?(:use_last_day_if_month_day_past_end)
|
109330
|
+
end
|
109331
|
+
end
|
109332
|
+
|
109333
|
+
# A MONTHLY recurrence can be one of a MonthlyDayRecurrence or
|
109334
|
+
# MonthlyWeekdayRecurrence but not both. Used in PeopleAPI layers + FBS/
|
109335
|
+
# ContactsService (not in ProfileService)
|
109336
|
+
class SocialGraphApiProtoMonthlyRecurrence
|
109337
|
+
include Google::Apis::Core::Hashable
|
109338
|
+
|
109339
|
+
# Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1.
|
109340
|
+
# Absolute days of the month (i.e. the 1st and 15th) 2. Relative day from the
|
109341
|
+
# end of the month (i.e. -1 for last day, -2 for second-to-last day). Used in
|
109342
|
+
# PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109343
|
+
# Corresponds to the JSON property `monthlyDayRecurrence`
|
109344
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyDayRecurrence]
|
109345
|
+
attr_accessor :monthly_day_recurrence
|
109346
|
+
|
109347
|
+
# Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1. The nth
|
109348
|
+
# specific weekday of the month. For example, the 3rd Wednesday of the month.
|
109349
|
+
# This represents the 3rd instance of a Wednesday of the month, regardless of
|
109350
|
+
# what weekday the month started on. It does not necessarily mean the Wednesday
|
109351
|
+
# on the 3rd week of the month. Used in PeopleAPI layers + FBS/ContactsService (
|
109352
|
+
# not in ProfileService)
|
109353
|
+
# Corresponds to the JSON property `monthlyWeekdayRecurrence`
|
109354
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyWeekdayRecurrence]
|
109355
|
+
attr_accessor :monthly_weekday_recurrence
|
109356
|
+
|
109357
|
+
def initialize(**args)
|
109358
|
+
update!(**args)
|
109359
|
+
end
|
109360
|
+
|
109361
|
+
# Update properties of this object
|
109362
|
+
def update!(**args)
|
109363
|
+
@monthly_day_recurrence = args[:monthly_day_recurrence] if args.key?(:monthly_day_recurrence)
|
109364
|
+
@monthly_weekday_recurrence = args[:monthly_weekday_recurrence] if args.key?(:monthly_weekday_recurrence)
|
109365
|
+
end
|
109366
|
+
end
|
109367
|
+
|
109368
|
+
# Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1. The nth
|
109369
|
+
# specific weekday of the month. For example, the 3rd Wednesday of the month.
|
109370
|
+
# This represents the 3rd instance of a Wednesday of the month, regardless of
|
109371
|
+
# what weekday the month started on. It does not necessarily mean the Wednesday
|
109372
|
+
# on the 3rd week of the month. Used in PeopleAPI layers + FBS/ContactsService (
|
109373
|
+
# not in ProfileService)
|
109374
|
+
class SocialGraphApiProtoMonthlyWeekdayRecurrence
|
109375
|
+
include Google::Apis::Core::Hashable
|
109376
|
+
|
109377
|
+
# The nth occurrence of week_day to match. I.e. For 3rd Wednesday of the month,
|
109378
|
+
# week_day = WEDNESDAY and week_day_number = 3. Values beyond the end of the
|
109379
|
+
# month are skipped. Negative values are relative from end of month (e.g. Last
|
109380
|
+
# Friday of every month).
|
109381
|
+
# Corresponds to the JSON property `weekDay`
|
109382
|
+
# @return [String]
|
109383
|
+
attr_accessor :week_day
|
109384
|
+
|
109385
|
+
#
|
109386
|
+
# Corresponds to the JSON property `weekDayNumber`
|
109387
|
+
# @return [Fixnum]
|
109388
|
+
attr_accessor :week_day_number
|
109389
|
+
|
109390
|
+
def initialize(**args)
|
109391
|
+
update!(**args)
|
109392
|
+
end
|
109393
|
+
|
109394
|
+
# Update properties of this object
|
109395
|
+
def update!(**args)
|
109396
|
+
@week_day = args[:week_day] if args.key?(:week_day)
|
109397
|
+
@week_day_number = args[:week_day_number] if args.key?(:week_day_number)
|
109398
|
+
end
|
109399
|
+
end
|
109400
|
+
|
109401
|
+
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109402
|
+
class SocialGraphApiProtoNotificationTrigger
|
109403
|
+
include Google::Apis::Core::Hashable
|
109404
|
+
|
109405
|
+
# Positive number of days before active date. The value 0 will denote a
|
109406
|
+
# notification on the same day.
|
109407
|
+
# Corresponds to the JSON property `daysBeforeActiveDate`
|
109408
|
+
# @return [Fixnum]
|
109409
|
+
attr_accessor :days_before_active_date
|
109410
|
+
|
109411
|
+
# Represents a time of day. The date and time zone are either not significant or
|
109412
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
109413
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
109414
|
+
# Corresponds to the JSON property `notificationTimeOfDay`
|
109415
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeTimeOfDay]
|
109416
|
+
attr_accessor :notification_time_of_day
|
109417
|
+
|
109418
|
+
def initialize(**args)
|
109419
|
+
update!(**args)
|
109420
|
+
end
|
109421
|
+
|
109422
|
+
# Update properties of this object
|
109423
|
+
def update!(**args)
|
109424
|
+
@days_before_active_date = args[:days_before_active_date] if args.key?(:days_before_active_date)
|
109425
|
+
@notification_time_of_day = args[:notification_time_of_day] if args.key?(:notification_time_of_day)
|
109426
|
+
end
|
109427
|
+
end
|
109428
|
+
|
108599
109429
|
#
|
108600
109430
|
class SocialGraphApiProtoPartialNameOptions
|
108601
109431
|
include Google::Apis::Core::Hashable
|
@@ -108798,6 +109628,102 @@ module Google
|
|
108798
109628
|
end
|
108799
109629
|
end
|
108800
109630
|
|
109631
|
+
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109632
|
+
class SocialGraphApiProtoPrompt
|
109633
|
+
include Google::Apis::Core::Hashable
|
109634
|
+
|
109635
|
+
# Indicates if this prompt is active regardless of its reccurrence date, dismiss
|
109636
|
+
# date or notification triggers. This is required.
|
109637
|
+
# Corresponds to the JSON property `activeState`
|
109638
|
+
# @return [String]
|
109639
|
+
attr_accessor :active_state
|
109640
|
+
|
109641
|
+
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService) and in
|
109642
|
+
# Custard response to client apps that read Prompts.
|
109643
|
+
# Corresponds to the JSON property `content`
|
109644
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPromptContent]
|
109645
|
+
attr_accessor :content
|
109646
|
+
|
109647
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
109648
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
109649
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
109650
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
109651
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
109652
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
109653
|
+
# example, a credit card expiration date). Related types: * google.type.
|
109654
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
109655
|
+
# Corresponds to the JSON property `lastDismissDate`
|
109656
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeDate]
|
109657
|
+
attr_accessor :last_dismiss_date
|
109658
|
+
|
109659
|
+
# If this is empty, only the "Prompt Spark" will be displayed (in the time-range
|
109660
|
+
# read from per type config), no push notifications will be shown. If push
|
109661
|
+
# notification are configured with this field, the "Prompt Spark" time-range
|
109662
|
+
# will be determined by earliest notification value here.
|
109663
|
+
# Corresponds to the JSON property `notificationTriggers`
|
109664
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::SocialGraphApiProtoNotificationTrigger>]
|
109665
|
+
attr_accessor :notification_triggers
|
109666
|
+
|
109667
|
+
# Read-only. This is derived from the containing field value.
|
109668
|
+
# Corresponds to the JSON property `purpose`
|
109669
|
+
# @return [String]
|
109670
|
+
attr_accessor :purpose
|
109671
|
+
|
109672
|
+
# Flexible Recurrence proto to be used with People Prompts. Examples: Single
|
109673
|
+
# recurrence that occurs on a specific date: single_recurrence ` date ` year:
|
109674
|
+
# 2022 month: 11 day: 17 ` ` Yearly recurrence such as a birthday or anniversary:
|
109675
|
+
# yearly_recurrence ` monthly_pattern ` monthly_day_recurrence ` month_day: 17 `
|
109676
|
+
# ` months: JULY ` Weekly reccurrence such as: every two weeks on Monday: every:
|
109677
|
+
# 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
|
109678
|
+
# Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
|
109679
|
+
# week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
|
109680
|
+
# ContactsService (not in ProfileService) TODO(b/240850530) add link to
|
109681
|
+
# validators when created.
|
109682
|
+
# Corresponds to the JSON property `recurrence`
|
109683
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRecurrence]
|
109684
|
+
attr_accessor :recurrence
|
109685
|
+
|
109686
|
+
# Prompt ID is generated by server on initial mutate.
|
109687
|
+
# Corresponds to the JSON property `uniquePromptId`
|
109688
|
+
# @return [String]
|
109689
|
+
attr_accessor :unique_prompt_id
|
109690
|
+
|
109691
|
+
def initialize(**args)
|
109692
|
+
update!(**args)
|
109693
|
+
end
|
109694
|
+
|
109695
|
+
# Update properties of this object
|
109696
|
+
def update!(**args)
|
109697
|
+
@active_state = args[:active_state] if args.key?(:active_state)
|
109698
|
+
@content = args[:content] if args.key?(:content)
|
109699
|
+
@last_dismiss_date = args[:last_dismiss_date] if args.key?(:last_dismiss_date)
|
109700
|
+
@notification_triggers = args[:notification_triggers] if args.key?(:notification_triggers)
|
109701
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
109702
|
+
@recurrence = args[:recurrence] if args.key?(:recurrence)
|
109703
|
+
@unique_prompt_id = args[:unique_prompt_id] if args.key?(:unique_prompt_id)
|
109704
|
+
end
|
109705
|
+
end
|
109706
|
+
|
109707
|
+
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService) and in
|
109708
|
+
# Custard response to client apps that read Prompts.
|
109709
|
+
class SocialGraphApiProtoPromptContent
|
109710
|
+
include Google::Apis::Core::Hashable
|
109711
|
+
|
109712
|
+
# Title of prompt/spark being sent.
|
109713
|
+
# Corresponds to the JSON property `title`
|
109714
|
+
# @return [String]
|
109715
|
+
attr_accessor :title
|
109716
|
+
|
109717
|
+
def initialize(**args)
|
109718
|
+
update!(**args)
|
109719
|
+
end
|
109720
|
+
|
109721
|
+
# Update properties of this object
|
109722
|
+
def update!(**args)
|
109723
|
+
@title = args[:title] if args.key?(:title)
|
109724
|
+
end
|
109725
|
+
end
|
109726
|
+
|
108801
109727
|
# Design doc: go/pronouns-backend Represents a user's preferred pronouns.
|
108802
109728
|
class SocialGraphApiProtoPronounData
|
108803
109729
|
include Google::Apis::Core::Hashable
|
@@ -108937,6 +109863,144 @@ module Google
|
|
108937
109863
|
end
|
108938
109864
|
end
|
108939
109865
|
|
109866
|
+
# Flexible Recurrence proto to be used with People Prompts. Examples: Single
|
109867
|
+
# recurrence that occurs on a specific date: single_recurrence ` date ` year:
|
109868
|
+
# 2022 month: 11 day: 17 ` ` Yearly recurrence such as a birthday or anniversary:
|
109869
|
+
# yearly_recurrence ` monthly_pattern ` monthly_day_recurrence ` month_day: 17 `
|
109870
|
+
# ` months: JULY ` Weekly reccurrence such as: every two weeks on Monday: every:
|
109871
|
+
# 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
|
109872
|
+
# Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
|
109873
|
+
# week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
|
109874
|
+
# ContactsService (not in ProfileService) TODO(b/240850530) add link to
|
109875
|
+
# validators when created.
|
109876
|
+
class SocialGraphApiProtoRecurrence
|
109877
|
+
include Google::Apis::Core::Hashable
|
109878
|
+
|
109879
|
+
# Pattern for a DAILY (or every N day) recurrence. Time of the day that the
|
109880
|
+
# notification will occur is taken from the Prompt that owns this recurrence.
|
109881
|
+
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109882
|
+
# Corresponds to the JSON property `dailyRecurrence`
|
109883
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoDailyRecurrence]
|
109884
|
+
attr_accessor :daily_recurrence
|
109885
|
+
|
109886
|
+
# Multiplier on the frequency of the recurrence. Use this to specify patterns
|
109887
|
+
# that recur every X days, months, years, etc. Example: [remind me to call mom
|
109888
|
+
# every 2nd week]. Default value will be considered 1 (every day,every week,...)
|
109889
|
+
# and not 0. This is ignored for a SingleRecurrence. Optional.
|
109890
|
+
# Corresponds to the JSON property `every`
|
109891
|
+
# @return [Fixnum]
|
109892
|
+
attr_accessor :every
|
109893
|
+
|
109894
|
+
# A MONTHLY recurrence can be one of a MonthlyDayRecurrence or
|
109895
|
+
# MonthlyWeekdayRecurrence but not both. Used in PeopleAPI layers + FBS/
|
109896
|
+
# ContactsService (not in ProfileService)
|
109897
|
+
# Corresponds to the JSON property `monthlyRecurrence`
|
109898
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyRecurrence]
|
109899
|
+
attr_accessor :monthly_recurrence
|
109900
|
+
|
109901
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
109902
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
109903
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
109904
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
109905
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
109906
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
109907
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
109908
|
+
# the DateTime is considered not to have a specific year, month, or day
|
109909
|
+
# respectively. This type may also be used to represent a physical time if all
|
109910
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
109911
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
109912
|
+
# case also would like to store the user's timezone, that can be done in another
|
109913
|
+
# field. This type is more flexible than some applications may want. Make sure
|
109914
|
+
# to document and validate your application's limitations.
|
109915
|
+
# Corresponds to the JSON property `recurrenceEndDate`
|
109916
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeDateTime]
|
109917
|
+
attr_accessor :recurrence_end_date
|
109918
|
+
|
109919
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
109920
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
109921
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
109922
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
109923
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
109924
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
109925
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
109926
|
+
# the DateTime is considered not to have a specific year, month, or day
|
109927
|
+
# respectively. This type may also be used to represent a physical time if all
|
109928
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
109929
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
109930
|
+
# case also would like to store the user's timezone, that can be done in another
|
109931
|
+
# field. This type is more flexible than some applications may want. Make sure
|
109932
|
+
# to document and validate your application's limitations.
|
109933
|
+
# Corresponds to the JSON property `recurrenceStart`
|
109934
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeDateTime]
|
109935
|
+
attr_accessor :recurrence_start
|
109936
|
+
|
109937
|
+
# Will repeat only a finite number of times. This is the original number of
|
109938
|
+
# times the recurrence will repeat and not how many times are left for it to
|
109939
|
+
# repeat.
|
109940
|
+
# Corresponds to the JSON property `repeatCount`
|
109941
|
+
# @return [Fixnum]
|
109942
|
+
attr_accessor :repeat_count
|
109943
|
+
|
109944
|
+
# An internal message to signal that this recurrence has no end date.
|
109945
|
+
# Corresponds to the JSON property `repeatForever`
|
109946
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRecurrenceRepeatForever]
|
109947
|
+
attr_accessor :repeat_forever
|
109948
|
+
|
109949
|
+
# This prompt will occur one time only. Could be a single event such as a
|
109950
|
+
# graduation or a single connection reminder e.g. remind me to call X on 2022/03/
|
109951
|
+
# 19. Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109952
|
+
# Corresponds to the JSON property `singleRecurrence`
|
109953
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoSingleRecurrence]
|
109954
|
+
attr_accessor :single_recurrence
|
109955
|
+
|
109956
|
+
# Pattern for a WEEKLY recurrence. You must specify at least one week_day. Used
|
109957
|
+
# in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109958
|
+
# Corresponds to the JSON property `weeklyRecurrence`
|
109959
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoWeeklyRecurrence]
|
109960
|
+
attr_accessor :weekly_recurrence
|
109961
|
+
|
109962
|
+
# Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
|
109963
|
+
# monthly pattern and a set of months the pattern applies to. Some examples: "
|
109964
|
+
# Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
|
109965
|
+
# day of every April and August" : monthly_pattern ` month_day: -1 ` months:
|
109966
|
+
# APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
|
109967
|
+
# ProfileService)
|
109968
|
+
# Corresponds to the JSON property `yearlyRecurrence`
|
109969
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoYearlyRecurrence]
|
109970
|
+
attr_accessor :yearly_recurrence
|
109971
|
+
|
109972
|
+
def initialize(**args)
|
109973
|
+
update!(**args)
|
109974
|
+
end
|
109975
|
+
|
109976
|
+
# Update properties of this object
|
109977
|
+
def update!(**args)
|
109978
|
+
@daily_recurrence = args[:daily_recurrence] if args.key?(:daily_recurrence)
|
109979
|
+
@every = args[:every] if args.key?(:every)
|
109980
|
+
@monthly_recurrence = args[:monthly_recurrence] if args.key?(:monthly_recurrence)
|
109981
|
+
@recurrence_end_date = args[:recurrence_end_date] if args.key?(:recurrence_end_date)
|
109982
|
+
@recurrence_start = args[:recurrence_start] if args.key?(:recurrence_start)
|
109983
|
+
@repeat_count = args[:repeat_count] if args.key?(:repeat_count)
|
109984
|
+
@repeat_forever = args[:repeat_forever] if args.key?(:repeat_forever)
|
109985
|
+
@single_recurrence = args[:single_recurrence] if args.key?(:single_recurrence)
|
109986
|
+
@weekly_recurrence = args[:weekly_recurrence] if args.key?(:weekly_recurrence)
|
109987
|
+
@yearly_recurrence = args[:yearly_recurrence] if args.key?(:yearly_recurrence)
|
109988
|
+
end
|
109989
|
+
end
|
109990
|
+
|
109991
|
+
# An internal message to signal that this recurrence has no end date.
|
109992
|
+
class SocialGraphApiProtoRecurrenceRepeatForever
|
109993
|
+
include Google::Apis::Core::Hashable
|
109994
|
+
|
109995
|
+
def initialize(**args)
|
109996
|
+
update!(**args)
|
109997
|
+
end
|
109998
|
+
|
109999
|
+
# Update properties of this object
|
110000
|
+
def update!(**args)
|
110001
|
+
end
|
110002
|
+
end
|
110003
|
+
|
108940
110004
|
# Data contained in every search profile. go/janata-profile-in-sgbe.
|
108941
110005
|
class SocialGraphApiProtoSearchProfileData
|
108942
110006
|
include Google::Apis::Core::Hashable
|
@@ -109354,6 +110418,34 @@ module Google
|
|
109354
110418
|
end
|
109355
110419
|
end
|
109356
110420
|
|
110421
|
+
# This prompt will occur one time only. Could be a single event such as a
|
110422
|
+
# graduation or a single connection reminder e.g. remind me to call X on 2022/03/
|
110423
|
+
# 19. Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
110424
|
+
class SocialGraphApiProtoSingleRecurrence
|
110425
|
+
include Google::Apis::Core::Hashable
|
110426
|
+
|
110427
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
110428
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
110429
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
110430
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
110431
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
110432
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
110433
|
+
# example, a credit card expiration date). Related types: * google.type.
|
110434
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
110435
|
+
# Corresponds to the JSON property `date`
|
110436
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeDate]
|
110437
|
+
attr_accessor :date
|
110438
|
+
|
110439
|
+
def initialize(**args)
|
110440
|
+
update!(**args)
|
110441
|
+
end
|
110442
|
+
|
110443
|
+
# Update properties of this object
|
110444
|
+
def update!(**args)
|
110445
|
+
@date = args[:date] if args.key?(:date)
|
110446
|
+
end
|
110447
|
+
end
|
110448
|
+
|
109357
110449
|
# LINT.IfChange
|
109358
110450
|
class SocialGraphApiProtoSyncInfo
|
109359
110451
|
include Google::Apis::Core::Hashable
|
@@ -109450,6 +110542,58 @@ module Google
|
|
109450
110542
|
end
|
109451
110543
|
end
|
109452
110544
|
|
110545
|
+
# Pattern for a WEEKLY recurrence. You must specify at least one week_day. Used
|
110546
|
+
# in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
110547
|
+
class SocialGraphApiProtoWeeklyRecurrence
|
110548
|
+
include Google::Apis::Core::Hashable
|
110549
|
+
|
110550
|
+
# Set of weekdays the recurrence applies to.
|
110551
|
+
# Corresponds to the JSON property `weekDay`
|
110552
|
+
# @return [Array<String>]
|
110553
|
+
attr_accessor :week_day
|
110554
|
+
|
110555
|
+
def initialize(**args)
|
110556
|
+
update!(**args)
|
110557
|
+
end
|
110558
|
+
|
110559
|
+
# Update properties of this object
|
110560
|
+
def update!(**args)
|
110561
|
+
@week_day = args[:week_day] if args.key?(:week_day)
|
110562
|
+
end
|
110563
|
+
end
|
110564
|
+
|
110565
|
+
# Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
|
110566
|
+
# monthly pattern and a set of months the pattern applies to. Some examples: "
|
110567
|
+
# Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
|
110568
|
+
# day of every April and August" : monthly_pattern ` month_day: -1 ` months:
|
110569
|
+
# APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
|
110570
|
+
# ProfileService)
|
110571
|
+
class SocialGraphApiProtoYearlyRecurrence
|
110572
|
+
include Google::Apis::Core::Hashable
|
110573
|
+
|
110574
|
+
# A MONTHLY recurrence can be one of a MonthlyDayRecurrence or
|
110575
|
+
# MonthlyWeekdayRecurrence but not both. Used in PeopleAPI layers + FBS/
|
110576
|
+
# ContactsService (not in ProfileService)
|
110577
|
+
# Corresponds to the JSON property `monthlyPattern`
|
110578
|
+
# @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyRecurrence]
|
110579
|
+
attr_accessor :monthly_pattern
|
110580
|
+
|
110581
|
+
# The months of the year to apply the pattern.
|
110582
|
+
# Corresponds to the JSON property `months`
|
110583
|
+
# @return [Array<String>]
|
110584
|
+
attr_accessor :months
|
110585
|
+
|
110586
|
+
def initialize(**args)
|
110587
|
+
update!(**args)
|
110588
|
+
end
|
110589
|
+
|
110590
|
+
# Update properties of this object
|
110591
|
+
def update!(**args)
|
110592
|
+
@monthly_pattern = args[:monthly_pattern] if args.key?(:monthly_pattern)
|
110593
|
+
@months = args[:months] if args.key?(:months)
|
110594
|
+
end
|
110595
|
+
end
|
110596
|
+
|
109453
110597
|
# Extra ranking info returned with affinity data. This info is returned by DAS
|
109454
110598
|
# and passed to PAPI clients (Yenta), where it is used for ranking and filtering
|
109455
110599
|
# device and server suggestions together.
|
@@ -109572,28 +110716,6 @@ module Google
|
|
109572
110716
|
end
|
109573
110717
|
end
|
109574
110718
|
|
109575
|
-
# Corp Deskbooking-related extension data for use with Location.
|
109576
|
-
class SocialGraphWireProtoPeopleapiExtensionCorpDeskbookingLocationExtendedData
|
109577
|
-
include Google::Apis::Core::Hashable
|
109578
|
-
|
109579
|
-
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
109580
|
-
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
109581
|
-
# When the start equals the end, the interval is empty (matches no time). When
|
109582
|
-
# both start and end are unspecified, the interval matches any time.
|
109583
|
-
# Corresponds to the JSON property `validityInterval`
|
109584
|
-
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeInterval]
|
109585
|
-
attr_accessor :validity_interval
|
109586
|
-
|
109587
|
-
def initialize(**args)
|
109588
|
-
update!(**args)
|
109589
|
-
end
|
109590
|
-
|
109591
|
-
# Update properties of this object
|
109592
|
-
def update!(**args)
|
109593
|
-
@validity_interval = args[:validity_interval] if args.key?(:validity_interval)
|
109594
|
-
end
|
109595
|
-
end
|
109596
|
-
|
109597
110719
|
# Dynamite-related extension data.
|
109598
110720
|
class SocialGraphWireProtoPeopleapiExtensionDynamiteExtendedData
|
109599
110721
|
include Google::Apis::Core::Hashable
|
@@ -117271,6 +118393,13 @@ module Google
|
|
117271
118393
|
# @return [Fixnum]
|
117272
118394
|
attr_accessor :merged_line_count
|
117273
118395
|
|
118396
|
+
# # of OCR texts that appear in the same frame. If duration of this OCR text is
|
118397
|
+
# not zero, the maximum number among multiple frames where this OCR text appears
|
118398
|
+
# is set to this field.
|
118399
|
+
# Corresponds to the JSON property `nTextsInSameFrame`
|
118400
|
+
# @return [Fixnum]
|
118401
|
+
attr_accessor :n_texts_in_same_frame
|
118402
|
+
|
117274
118403
|
# The number of OCR texts that have the same text among temporally-merged OCR
|
117275
118404
|
# texts.
|
117276
118405
|
# Corresponds to the JSON property `occurrenceCount`
|
@@ -117367,6 +118496,7 @@ module Google
|
|
117367
118496
|
@left_position_ratio = args[:left_position_ratio] if args.key?(:left_position_ratio)
|
117368
118497
|
@median_clustering_distance = args[:median_clustering_distance] if args.key?(:median_clustering_distance)
|
117369
118498
|
@merged_line_count = args[:merged_line_count] if args.key?(:merged_line_count)
|
118499
|
+
@n_texts_in_same_frame = args[:n_texts_in_same_frame] if args.key?(:n_texts_in_same_frame)
|
117370
118500
|
@occurrence_count = args[:occurrence_count] if args.key?(:occurrence_count)
|
117371
118501
|
@occurrence_ratio = args[:occurrence_ratio] if args.key?(:occurrence_ratio)
|
117372
118502
|
@ocr_asr_feature = args[:ocr_asr_feature] if args.key?(:ocr_asr_feature)
|
@@ -118467,7 +119597,7 @@ module Google
|
|
118467
119597
|
end
|
118468
119598
|
end
|
118469
119599
|
|
118470
|
-
# Next ID:
|
119600
|
+
# Next ID: 23
|
118471
119601
|
class VideoContentSearchVideoAnchor
|
118472
119602
|
include Google::Apis::Core::Hashable
|
118473
119603
|
|
@@ -118481,6 +119611,11 @@ module Google
|
|
118481
119611
|
# @return [String]
|
118482
119612
|
attr_accessor :anchor_type
|
118483
119613
|
|
119614
|
+
# Context text from ASR of long duration, used for longT5 models.
|
119615
|
+
# Corresponds to the JSON property `contextText`
|
119616
|
+
# @return [String]
|
119617
|
+
attr_accessor :context_text
|
119618
|
+
|
118484
119619
|
# When set, this is the link that should be used when clicking on a video anchor.
|
118485
119620
|
# This should jump to the given time in the video.
|
118486
119621
|
# Corresponds to the JSON property `destinationUrl`
|
@@ -118587,6 +119722,7 @@ module Google
|
|
118587
119722
|
def update!(**args)
|
118588
119723
|
@anchor_score = args[:anchor_score] if args.key?(:anchor_score)
|
118589
119724
|
@anchor_type = args[:anchor_type] if args.key?(:anchor_type)
|
119725
|
+
@context_text = args[:context_text] if args.key?(:context_text)
|
118590
119726
|
@destination_url = args[:destination_url] if args.key?(:destination_url)
|
118591
119727
|
@duration = args[:duration] if args.key?(:duration)
|
118592
119728
|
@entity_score = args[:entity_score] if args.key?(:entity_score)
|
@@ -123965,8 +125101,7 @@ module Google
|
|
123965
125101
|
# @return [Fixnum]
|
123966
125102
|
attr_accessor :snippet_byline_date
|
123967
125103
|
|
123968
|
-
#
|
123969
|
-
# ID: 11
|
125104
|
+
#
|
123970
125105
|
# Corresponds to the JSON property `snippetExtraInfo`
|
123971
125106
|
# @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfo]
|
123972
125107
|
attr_accessor :snippet_extra_info
|
@@ -125038,8 +126173,7 @@ module Google
|
|
125038
126173
|
end
|
125039
126174
|
|
125040
126175
|
# The annotation of a document by a given entity, for a given type of
|
125041
|
-
# relationship.
|
125042
|
-
# document, not simply a part of the document such as a video segment.
|
126176
|
+
# relationship.
|
125043
126177
|
class YoutubeDiscoveryLegosLegosAnnotation
|
125044
126178
|
include Google::Apis::Core::Hashable
|
125045
126179
|
|
@@ -125053,6 +126187,11 @@ module Google
|
|
125053
126187
|
# @return [Google::Apis::ContentwarehouseV1::YoutubeDiscoveryLegosLegosFormatRelationship]
|
125054
126188
|
attr_accessor :format
|
125055
126189
|
|
126190
|
+
# Description of a present Legos annotation.
|
126191
|
+
# Corresponds to the JSON property `present`
|
126192
|
+
# @return [Google::Apis::ContentwarehouseV1::YoutubeDiscoveryLegosLegosPresentRelationship]
|
126193
|
+
attr_accessor :present
|
126194
|
+
|
125056
126195
|
# Description of a semantic Legos annotation. http://go/legos/project.md#
|
125057
126196
|
# semantic-intent-annotations
|
125058
126197
|
# Corresponds to the JSON property `semantic`
|
@@ -125073,6 +126212,7 @@ module Google
|
|
125073
126212
|
def update!(**args)
|
125074
126213
|
@entity = args[:entity] if args.key?(:entity)
|
125075
126214
|
@format = args[:format] if args.key?(:format)
|
126215
|
+
@present = args[:present] if args.key?(:present)
|
125076
126216
|
@semantic = args[:semantic] if args.key?(:semantic)
|
125077
126217
|
@taxonomic = args[:taxonomic] if args.key?(:taxonomic)
|
125078
126218
|
end
|
@@ -125153,6 +126293,35 @@ module Google
|
|
125153
126293
|
end
|
125154
126294
|
end
|
125155
126295
|
|
126296
|
+
# Description of a present Legos annotation.
|
126297
|
+
class YoutubeDiscoveryLegosLegosPresentRelationship
|
126298
|
+
include Google::Apis::Core::Hashable
|
126299
|
+
|
126300
|
+
# Confidence score. Thresholding at the confidence score at 0.XX yields
|
126301
|
+
# annotations of precision of at least XX%.
|
126302
|
+
# Corresponds to the JSON property `confidence`
|
126303
|
+
# @return [Float]
|
126304
|
+
attr_accessor :confidence
|
126305
|
+
|
126306
|
+
# Extra context about how the entity relates to the document. Typically vertical-
|
126307
|
+
# specific. Please refrain from populating this field as we're working on
|
126308
|
+
# migrating most of the use cases to the LegosEntity proto so clients don't have
|
126309
|
+
# to scan all relationships to know which annotations they may be interested in.
|
126310
|
+
# Corresponds to the JSON property `contexts`
|
126311
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::YoutubeDiscoveryLegosLegosSemanticRelationshipContext>]
|
126312
|
+
attr_accessor :contexts
|
126313
|
+
|
126314
|
+
def initialize(**args)
|
126315
|
+
update!(**args)
|
126316
|
+
end
|
126317
|
+
|
126318
|
+
# Update properties of this object
|
126319
|
+
def update!(**args)
|
126320
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
126321
|
+
@contexts = args[:contexts] if args.key?(:contexts)
|
126322
|
+
end
|
126323
|
+
end
|
126324
|
+
|
125156
126325
|
# Description of a semantic Legos annotation. http://go/legos/project.md#
|
125157
126326
|
# semantic-intent-annotations
|
125158
126327
|
class YoutubeDiscoveryLegosLegosSemanticRelationship
|