google-apis-contentwarehouse_v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2952,6 +2952,32 @@ 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
+ # Metadata for a single Person field. See go/understanding-merged-person
2961
+ # Corresponds to the JSON property `metadata`
2962
+ # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
2963
+ attr_accessor :metadata
2964
+
2965
+ # Contact-level "reminder to connect" prompts for this contact.
2966
+ # Corresponds to the JSON property `prompt`
2967
+ # @return [Array<Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPrompt>]
2968
+ attr_accessor :prompt
2969
+
2970
+ def initialize(**args)
2971
+ update!(**args)
2972
+ end
2973
+
2974
+ # Update properties of this object
2975
+ def update!(**args)
2976
+ @metadata = args[:metadata] if args.key?(:metadata)
2977
+ @prompt = args[:prompt] if args.key?(:prompt)
2978
+ end
2979
+ end
2980
+
2955
2981
  # A membership that the person has. The person can be a member of multiple
2956
2982
  # circles and multiple contact-groups. A circle membership is created by adding
2957
2983
  # a person to a circle by person-id or by email. A contact-group membership is
@@ -4749,11 +4775,6 @@ module Google
4749
4775
  # @return [String]
4750
4776
  attr_accessor :desk_code
4751
4777
 
4752
- #
4753
- # Corresponds to the JSON property `extendedData`
4754
- # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiLocationExtendedData]
4755
- attr_accessor :extended_data
4756
-
4757
4778
  #
4758
4779
  # Corresponds to the JSON property `floorName`
4759
4780
  # @return [String]
@@ -4800,7 +4821,6 @@ module Google
4800
4821
  @building_name = args[:building_name] if args.key?(:building_name)
4801
4822
  @current = args[:current] if args.key?(:current)
4802
4823
  @desk_code = args[:desk_code] if args.key?(:desk_code)
4803
- @extended_data = args[:extended_data] if args.key?(:extended_data)
4804
4824
  @floor_name = args[:floor_name] if args.key?(:floor_name)
4805
4825
  @floor_section = args[:floor_section] if args.key?(:floor_section)
4806
4826
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
@@ -4811,25 +4831,6 @@ module Google
4811
4831
  end
4812
4832
  end
4813
4833
 
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
4834
  #
4834
4835
  class AppsPeopleOzExternalMergedpeopleapiManagementUpchain
4835
4836
  include Google::Apis::Core::Hashable
@@ -5834,6 +5835,15 @@ module Google
5834
5835
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiCommunicationEmail>]
5835
5836
  attr_accessor :communication_email
5836
5837
 
5838
+ # Reminder to connect with a Contact (part of go/people-prompts). Also contains
5839
+ # contact-level prompts settings. Each Contact can have a single `
5840
+ # connection_reminder` (but can have multiple Prompts inside of it). Field is
5841
+ # repeated per PeopleAPI data model go/people-api-concepts#repeated. Only
5842
+ # supported for CONTACT container.
5843
+ # Corresponds to the JSON property `connectionReminder`
5844
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiConnectionReminder>]
5845
+ attr_accessor :connection_reminder
5846
+
5837
5847
  # Contact groups that this person is a member of.
5838
5848
  # Corresponds to the JSON property `contactGroupMembership`
5839
5849
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiContactGroupMembership>]
@@ -6022,7 +6032,8 @@ module Google
6022
6032
 
6023
6033
  # The ID of the person. This is determined by the backend, is unstable, and may
6024
6034
  # not be the same as a user_id. Internally referred as 'personKey' to
6025
- # distinguish from the common PersonId pojo. See go/fwgau
6035
+ # distinguish from the common PersonId pojo. See go/people-api-concepts#person-
6036
+ # id
6026
6037
  # Corresponds to the JSON property `personId`
6027
6038
  # @return [String]
6028
6039
  attr_accessor :person_id
@@ -6180,6 +6191,7 @@ module Google
6180
6191
  @circle_membership = args[:circle_membership] if args.key?(:circle_membership)
6181
6192
  @client_data = args[:client_data] if args.key?(:client_data)
6182
6193
  @communication_email = args[:communication_email] if args.key?(:communication_email)
6194
+ @connection_reminder = args[:connection_reminder] if args.key?(:connection_reminder)
6183
6195
  @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership)
6184
6196
  @contact_state_info = args[:contact_state_info] if args.key?(:contact_state_info)
6185
6197
  @cover_photo = args[:cover_photo] if args.key?(:cover_photo)
@@ -8273,15 +8285,15 @@ module Google
8273
8285
  # field are as follows based on the value of the `container_type` field: CONTACT:
8274
8286
  # Hex-encoded contact id. PROFILE: DOMAIN_PROFILE: GOOGLE_GROUP:
8275
8287
  # NAMED_CHAT_ROOM: Focus-obfuscated Gaia ID. DOMAIN_CONTACT: Synthetic-contact
8276
- # id representing the domain shared contact. PLACE: Encoded PlaceId, encoded
8277
- # using go/djlcf (PlaceIdEncoder.java) RAW_DEVICE_CONTACT: Pair of device_id and
8278
- # raw_contact_id, encoded as base64 serialized social.graph.peopleapi.proto.
8279
- # internal.RawDeviceContactId proto. CONTACT_ANNOTATION: Pair of annotation_id
8280
- # and event_timestamp, encoded as base64 serialized social.graph.peopleapi.proto.
8281
- # internal.ContactAnnotationId proto. -- DEPRECATED container types -- If the
8282
- # container is CIRCLE, then the id is going to be the synthetic- contact id
8283
- # representing the email-only circle member or gaia circle member for which the
8284
- # requester does not have a contact for.
8288
+ # id representing the domain shared contact. PLACE: Encoded PlaceId (go/javagoog/
8289
+ # maps/api/places/util/PlaceIdEncoder.java) RAW_DEVICE_CONTACT: Pair of
8290
+ # device_id and raw_contact_id, encoded as base64 serialized social.graph.
8291
+ # peopleapi.proto.internal.RawDeviceContactId proto. CONTACT_ANNOTATION: Pair of
8292
+ # annotation_id and event_timestamp, encoded as base64 serialized social.graph.
8293
+ # peopleapi.proto.internal.ContactAnnotationId proto. -- DEPRECATED container
8294
+ # types -- If the container is CIRCLE, then the id is going to be the synthetic-
8295
+ # contact id representing the email-only circle member or gaia circle member for
8296
+ # which the requester does not have a contact for.
8285
8297
  # Corresponds to the JSON property `id`
8286
8298
  # @return [String]
8287
8299
  attr_accessor :id
@@ -11895,7 +11907,7 @@ module Google
11895
11907
  # enum. A surface's capabilities can differ from the device's. An example would
11896
11908
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
11897
11909
  # 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: 32
11910
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
11899
11911
  class AssistantApiDeviceCapabilities
11900
11912
  include Google::Apis::Core::Hashable
11901
11913
 
@@ -11930,6 +11942,11 @@ module Google
11930
11942
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCameraCapabilities]
11931
11943
  attr_accessor :camera
11932
11944
 
11945
+ # UX restrictions for Auto.
11946
+ # Corresponds to the JSON property `carUxRestrictions`
11947
+ # @return [Array<String>]
11948
+ attr_accessor :car_ux_restrictions
11949
+
11933
11950
  # These capabilities represent capabilities that have to do with casting that
11934
11951
  # pertain to this device. Next ID: 9
11935
11952
  # Corresponds to the JSON property `cast`
@@ -12033,6 +12050,13 @@ module Google
12033
12050
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiOutputRestrictions]
12034
12051
  attr_accessor :output_restrictions
12035
12052
 
12053
+ # Capability to support Pop on lockscreen. TODO(b/230626444) this is for short
12054
+ # term workaround for TNG MA DF. Should be deprecated when long term solution is
12055
+ # available. go/pop-on-lockscreen-for-tng-ma.
12056
+ # Corresponds to the JSON property `popOnLockscreenCapability`
12057
+ # @return [String]
12058
+ attr_accessor :pop_on_lockscreen_capability
12059
+
12036
12060
  # Indicates if the client has safety related restriction.
12037
12061
  # Corresponds to the JSON property `safetyRestrictions`
12038
12062
  # @return [String]
@@ -12113,6 +12137,7 @@ module Google
12113
12137
  @audio_output = args[:audio_output] if args.key?(:audio_output)
12114
12138
  @call_capabilities = args[:call_capabilities] if args.key?(:call_capabilities)
12115
12139
  @camera = args[:camera] if args.key?(:camera)
12140
+ @car_ux_restrictions = args[:car_ux_restrictions] if args.key?(:car_ux_restrictions)
12116
12141
  @cast = args[:cast] if args.key?(:cast)
12117
12142
  @communication_ui_capabilities = args[:communication_ui_capabilities] if args.key?(:communication_ui_capabilities)
12118
12143
  @contact_lookup_capabilities = args[:contact_lookup_capabilities] if args.key?(:contact_lookup_capabilities)
@@ -12128,6 +12153,7 @@ module Google
12128
12153
  @notification_capabilities = args[:notification_capabilities] if args.key?(:notification_capabilities)
12129
12154
  @notification_output_restrictions = args[:notification_output_restrictions] if args.key?(:notification_output_restrictions)
12130
12155
  @output_restrictions = args[:output_restrictions] if args.key?(:output_restrictions)
12156
+ @pop_on_lockscreen_capability = args[:pop_on_lockscreen_capability] if args.key?(:pop_on_lockscreen_capability)
12131
12157
  @safety_restrictions = args[:safety_restrictions] if args.key?(:safety_restrictions)
12132
12158
  @screen = args[:screen] if args.key?(:screen)
12133
12159
  @soda_capabilities = args[:soda_capabilities] if args.key?(:soda_capabilities)
@@ -13981,7 +14007,7 @@ module Google
13981
14007
  # enum. A surface's capabilities can differ from the device's. An example would
13982
14008
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
13983
14009
  # 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: 32
14010
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
13985
14011
  # Corresponds to the JSON property `capabilities`
13986
14012
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiDeviceCapabilities]
13987
14013
  attr_accessor :capabilities
@@ -17781,6 +17807,19 @@ module Google
17781
17807
  end
17782
17808
  end
17783
17809
 
17810
+ #
17811
+ class AssistantDevicesPlatformProtoDeviceTakePhotoCapability
17812
+ include Google::Apis::Core::Hashable
17813
+
17814
+ def initialize(**args)
17815
+ update!(**args)
17816
+ end
17817
+
17818
+ # Update properties of this object
17819
+ def update!(**args)
17820
+ end
17821
+ end
17822
+
17784
17823
  # Specifies the routing capabilities of the Intent. It will apply only when the
17785
17824
  # Intent is triggered. Next ID: 8
17786
17825
  class AssistantDevicesPlatformProtoExecutionConfig
@@ -18367,6 +18406,13 @@ module Google
18367
18406
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceModifySettingCapability]
18368
18407
  attr_accessor :device_modify_setting
18369
18408
 
18409
+ # [device_take_photo] specifies the support for the device.TAKE_PHOTO clientop,
18410
+ # and the corresponding device_take_photo field in assistant.embedded.v1.
18411
+ # DeviceOp.
18412
+ # Corresponds to the JSON property `deviceTakePhoto`
18413
+ # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceTakePhotoCapability]
18414
+ attr_accessor :device_take_photo
18415
+
18370
18416
  #
18371
18417
  # Corresponds to the JSON property `mediaNext`
18372
18418
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaNextCapability]
@@ -18419,6 +18465,7 @@ module Google
18419
18465
  @call_call = args[:call_call] if args.key?(:call_call)
18420
18466
  @client_reconnect = args[:client_reconnect] if args.key?(:client_reconnect)
18421
18467
  @device_modify_setting = args[:device_modify_setting] if args.key?(:device_modify_setting)
18468
+ @device_take_photo = args[:device_take_photo] if args.key?(:device_take_photo)
18422
18469
  @media_next = args[:media_next] if args.key?(:media_next)
18423
18470
  @media_pause = args[:media_pause] if args.key?(:media_pause)
18424
18471
  @media_play_media = args[:media_play_media] if args.key?(:media_play_media)
@@ -18538,6 +18585,147 @@ module Google
18538
18585
  end
18539
18586
  end
18540
18587
 
18588
+ # Features to be passed from Contact GP to HGR. Next ID: 13
18589
+ class AssistantGroundingRankerContactGroundingProviderFeatures
18590
+ include Google::Apis::Core::Hashable
18591
+
18592
+ # Concept id for relationships in English, e.g. "Mother" for all non-English
18593
+ # locales. It's only populated for source = RELATIONSHIP.
18594
+ # Corresponds to the JSON property `conceptId`
18595
+ # @return [String]
18596
+ attr_accessor :concept_id
18597
+
18598
+ #
18599
+ # Corresponds to the JSON property `contactSource`
18600
+ # @return [String]
18601
+ attr_accessor :contact_source
18602
+
18603
+ # Whether the query is a relationship query based on the annotation source.
18604
+ # Corresponds to the JSON property `isRelationshipFromAnnotation`
18605
+ # @return [Boolean]
18606
+ attr_accessor :is_relationship_from_annotation
18607
+ alias_method :is_relationship_from_annotation?, :is_relationship_from_annotation
18608
+
18609
+ # Whether the contact has relationship in the contact metadata.
18610
+ # Corresponds to the JSON property `isRelationshipFromSource`
18611
+ # @return [Boolean]
18612
+ attr_accessor :is_relationship_from_source
18613
+ alias_method :is_relationship_from_source?, :is_relationship_from_source
18614
+
18615
+ # Whether only populates a single candidate.
18616
+ # Corresponds to the JSON property `isSingleCandidate`
18617
+ # @return [Boolean]
18618
+ attr_accessor :is_single_candidate
18619
+ alias_method :is_single_candidate?, :is_single_candidate
18620
+
18621
+ # Whether the contact is starred contact.
18622
+ # Corresponds to the JSON property `isStarred`
18623
+ # @return [Boolean]
18624
+ attr_accessor :is_starred
18625
+ alias_method :is_starred?, :is_starred
18626
+
18627
+ #
18628
+ # Corresponds to the JSON property `matchedNameType`
18629
+ # @return [String]
18630
+ attr_accessor :matched_name_type
18631
+
18632
+ # Number of alternate contact names from fuzzy contact match.
18633
+ # Corresponds to the JSON property `numAlternateNameFromFuzzyContactMatch`
18634
+ # @return [Float]
18635
+ attr_accessor :num_alternate_name_from_fuzzy_contact_match
18636
+
18637
+ # Number of alternate contact names from S3_HYPOTHESES.
18638
+ # Corresponds to the JSON property `numAlternateNamesFromS3`
18639
+ # @return [Float]
18640
+ attr_accessor :num_alternate_names_from_s3
18641
+
18642
+ # Number of alternate contact names from interpretation.
18643
+ # Corresponds to the JSON property `numAlternativeNamesFromInterpretation`
18644
+ # @return [Float]
18645
+ attr_accessor :num_alternative_names_from_interpretation
18646
+
18647
+ # Number of contacts populated by the contact Grounding Provider.
18648
+ # Corresponds to the JSON property `numCandidates`
18649
+ # @return [Float]
18650
+ attr_accessor :num_candidates
18651
+
18652
+ #
18653
+ # Corresponds to the JSON property `recognitionAlternateSource`
18654
+ # @return [String]
18655
+ attr_accessor :recognition_alternate_source
18656
+
18657
+ def initialize(**args)
18658
+ update!(**args)
18659
+ end
18660
+
18661
+ # Update properties of this object
18662
+ def update!(**args)
18663
+ @concept_id = args[:concept_id] if args.key?(:concept_id)
18664
+ @contact_source = args[:contact_source] if args.key?(:contact_source)
18665
+ @is_relationship_from_annotation = args[:is_relationship_from_annotation] if args.key?(:is_relationship_from_annotation)
18666
+ @is_relationship_from_source = args[:is_relationship_from_source] if args.key?(:is_relationship_from_source)
18667
+ @is_single_candidate = args[:is_single_candidate] if args.key?(:is_single_candidate)
18668
+ @is_starred = args[:is_starred] if args.key?(:is_starred)
18669
+ @matched_name_type = args[:matched_name_type] if args.key?(:matched_name_type)
18670
+ @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)
18671
+ @num_alternate_names_from_s3 = args[:num_alternate_names_from_s3] if args.key?(:num_alternate_names_from_s3)
18672
+ @num_alternative_names_from_interpretation = args[:num_alternative_names_from_interpretation] if args.key?(:num_alternative_names_from_interpretation)
18673
+ @num_candidates = args[:num_candidates] if args.key?(:num_candidates)
18674
+ @recognition_alternate_source = args[:recognition_alternate_source] if args.key?(:recognition_alternate_source)
18675
+ end
18676
+ end
18677
+
18678
+ # Next ID: 3
18679
+ class AssistantGroundingRankerGroundingProviderFeatures
18680
+ include Google::Apis::Core::Hashable
18681
+
18682
+ # Features to be passed from Contact GP to HGR. Next ID: 13
18683
+ # Corresponds to the JSON property `contactGroundingProviderFeatures`
18684
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
18685
+ attr_accessor :contact_grounding_provider_features
18686
+
18687
+ # Features to be passed from Media GP to HGR. Next ID: 2
18688
+ # Corresponds to the JSON property `mediaGroundingProviderFeatures`
18689
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
18690
+ attr_accessor :media_grounding_provider_features
18691
+
18692
+ def initialize(**args)
18693
+ update!(**args)
18694
+ end
18695
+
18696
+ # Update properties of this object
18697
+ def update!(**args)
18698
+ @contact_grounding_provider_features = args[:contact_grounding_provider_features] if args.key?(:contact_grounding_provider_features)
18699
+ @media_grounding_provider_features = args[:media_grounding_provider_features] if args.key?(:media_grounding_provider_features)
18700
+ end
18701
+ end
18702
+
18703
+ # Features to be passed from Media GP to HGR. Next ID: 2
18704
+ class AssistantGroundingRankerMediaGroundingProviderFeatures
18705
+ include Google::Apis::Core::Hashable
18706
+
18707
+ # MSC(Media Short Click) rate. MSC rate = total number of MSC events / total
18708
+ # number of MSC candidates The event is considered as MSC candidate if the event
18709
+ # is a media seeking query(excluding follow-ons) and the media result is
18710
+ # successfully fulfilled. The event is MSC event if any of the following is in
18711
+ # the following queries within 30 secs: FOLLOWED_BY_DUPLICATE
18712
+ # FOLLOWED_BY_ADD_OR_DELETE_MANUAL_REFINEMENT FOLLOWED_BY_SAME_VERTICAL (MEDIA)
18713
+ # FOLLOWED_BY_STOP More details: go/media-ranking, go/billboard-navboost, go/
18714
+ # magma-music-actions-efrac
18715
+ # Corresponds to the JSON property `mscRate`
18716
+ # @return [Float]
18717
+ attr_accessor :msc_rate
18718
+
18719
+ def initialize(**args)
18720
+ update!(**args)
18721
+ end
18722
+
18723
+ # Update properties of this object
18724
+ def update!(**args)
18725
+ @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
18726
+ end
18727
+ end
18728
+
18541
18729
  #
18542
18730
  class AssistantLogsAllMediaStreamLog
18543
18731
  include Google::Apis::Core::Hashable
@@ -19132,6 +19320,13 @@ module Google
19132
19320
  # @return [String]
19133
19321
  attr_accessor :device_id
19134
19322
 
19323
+ # The logging-version of DeviceId proto, which identifies a device. This mirrors
19324
+ # cs/google3/assistant/api/core_types/device_type.proto?q=symbol:DeviceId Next
19325
+ # ID: 6
19326
+ # Corresponds to the JSON property `deviceIdLog`
19327
+ # @return [Google::Apis::ContentwarehouseV1::AssistantLogsSettingsDeviceIdLog]
19328
+ attr_accessor :device_id_log
19329
+
19135
19330
  # We index linked devices and log these index to avoid logging device_id.
19136
19331
  # device_index should always be a positive number or -1. -1 means this device is
19137
19332
  # not in homegraph.
@@ -19206,6 +19401,7 @@ module Google
19206
19401
  @arbitration_device_id = args[:arbitration_device_id] if args.key?(:arbitration_device_id)
19207
19402
  @connectivity = args[:connectivity] if args.key?(:connectivity)
19208
19403
  @device_id = args[:device_id] if args.key?(:device_id)
19404
+ @device_id_log = args[:device_id_log] if args.key?(:device_id_log)
19209
19405
  @device_index = args[:device_index] if args.key?(:device_index)
19210
19406
  @device_model_id = args[:device_model_id] if args.key?(:device_model_id)
19211
19407
  @distance = args[:distance] if args.key?(:distance)
@@ -19957,6 +20153,68 @@ module Google
19957
20153
  end
19958
20154
  end
19959
20155
 
20156
+ # The logging-version of DeviceId proto, which identifies a device. This mirrors
20157
+ # cs/google3/assistant/api/core_types/device_type.proto?q=symbol:DeviceId Next
20158
+ # ID: 6
20159
+ class AssistantLogsSettingsDeviceIdLog
20160
+ include Google::Apis::Core::Hashable
20161
+
20162
+ # The client_instance_id on devices with GSA. See 'client_instance_field' in go/
20163
+ # androidids.
20164
+ # Corresponds to the JSON property `agsaClientInstanceId`
20165
+ # @return [String]
20166
+ attr_accessor :agsa_client_instance_id
20167
+
20168
+ # A unique device ID for Assistant devices as proposed by go/ocelot-team.
20169
+ # Corresponds to the JSON property `canonicalDeviceId`
20170
+ # @return [String]
20171
+ attr_accessor :canonical_device_id
20172
+
20173
+ # If set, indicates that the device is a cast device, and contains the UUID of
20174
+ # the cast device. Corresponds to the device_id field of the CastDevice proto.
20175
+ # Corresponds to the JSON property `castDeviceId`
20176
+ # @return [String]
20177
+ attr_accessor :cast_device_id
20178
+
20179
+ # DUSI (go/dusi) is used as the identifier here. This identifier is unique to
20180
+ # the user and device. This will help identify which device or application the
20181
+ # user's request originated from. This is not to be confused with the
20182
+ # client_instance_id that android devices provide. This is currently used by
20183
+ # surfaces that use the assistant-legacy-nexus and assistant-legacy-clockwork
20184
+ # pipelines. DUSI is created and set in S3. This field is only filled for GAIA
20185
+ # requests.
20186
+ # Corresponds to the JSON property `clientInstanceId`
20187
+ # @return [String]
20188
+ attr_accessor :client_instance_id
20189
+
20190
+ # The unique device ID for HomeGraph devices. This is the HomeGraph ID, created
20191
+ # when the device is registered into HomeGraph. It is immutable for the same
20192
+ # device unless it is completely deleted and recreated. See go/home-graph for
20193
+ # details. `
20194
+ # Corresponds to the JSON property `homeGraphDeviceId`
20195
+ # @return [String]
20196
+ attr_accessor :home_graph_device_id
20197
+
20198
+ # The unique ID for libassistant based devices.
20199
+ # Corresponds to the JSON property `libassistantDeviceId`
20200
+ # @return [String]
20201
+ attr_accessor :libassistant_device_id
20202
+
20203
+ def initialize(**args)
20204
+ update!(**args)
20205
+ end
20206
+
20207
+ # Update properties of this object
20208
+ def update!(**args)
20209
+ @agsa_client_instance_id = args[:agsa_client_instance_id] if args.key?(:agsa_client_instance_id)
20210
+ @canonical_device_id = args[:canonical_device_id] if args.key?(:canonical_device_id)
20211
+ @cast_device_id = args[:cast_device_id] if args.key?(:cast_device_id)
20212
+ @client_instance_id = args[:client_instance_id] if args.key?(:client_instance_id)
20213
+ @home_graph_device_id = args[:home_graph_device_id] if args.key?(:home_graph_device_id)
20214
+ @libassistant_device_id = args[:libassistant_device_id] if args.key?(:libassistant_device_id)
20215
+ end
20216
+ end
20217
+
19960
20218
  # Structure annotation mentioned in query.
19961
20219
  class AssistantLogsStructureAnnotationLog
19962
20220
  include Google::Apis::Core::Hashable
@@ -20016,21 +20274,20 @@ module Google
20016
20274
 
20017
20275
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20018
20276
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20019
- # Next ID: 25
20277
+ # Next ID: 30
20020
20278
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20021
20279
  include Google::Apis::Core::Hashable
20022
20280
 
20281
+ # Assistant User Interaction Score for binding set.
20282
+ # Corresponds to the JSON property `bindingSetAuis`
20283
+ # @return [Float]
20284
+ attr_accessor :binding_set_auis
20285
+
20023
20286
  # A parsing score that is independently calibrated by each parser/IG.
20024
20287
  # Corresponds to the JSON property `calibratedParsingScore`
20025
20288
  # @return [Float]
20026
20289
  attr_accessor :calibrated_parsing_score
20027
20290
 
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
20291
  # Indicates interpretation dominance predicted by KScorer
20035
20292
  # Corresponds to the JSON property `dominant`
20036
20293
  # @return [Boolean]
@@ -20052,6 +20309,11 @@ module Google
20052
20309
  # @return [Float]
20053
20310
  attr_accessor :groundability_score
20054
20311
 
20312
+ # Next ID: 3
20313
+ # Corresponds to the JSON property `groundingProviderFeatures`
20314
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
20315
+ attr_accessor :grounding_provider_features
20316
+
20055
20317
  # This is a cross-intent feature which is calculated by iterating all intent
20056
20318
  # candidates. This feature should be populated in post-IG stage (before GB).
20057
20319
  # Corresponds to the JSON property `inQueryMaxEffectiveArgSpanLength`
@@ -20084,18 +20346,17 @@ module Google
20084
20346
  attr_accessor :mask_candidate_level_features
20085
20347
  alias_method :mask_candidate_level_features?, :mask_candidate_level_features
20086
20348
 
20349
+ # Number of alternative hypotheses from speech recognition(S3).
20350
+ # Corresponds to the JSON property `numAlternativeHypothesis`
20351
+ # @return [Float]
20352
+ attr_accessor :num_alternative_hypothesis
20353
+
20087
20354
  # Sum of the number of constraints used by the Grounding Box to ground each
20088
20355
  # variable.
20089
20356
  # Corresponds to the JSON property `numConstraints`
20090
20357
  # @return [Float]
20091
20358
  attr_accessor :num_constraints
20092
20359
 
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
20360
  # Sum of the number of constraints satisfied for each variable. Depending on the
20100
20361
  # match score for a constraint, this number can be fractional and is in the
20101
20362
  # range [0, num_constraints]. Populated by the Grounding Box.
@@ -20103,58 +20364,28 @@ module Google
20103
20364
  # @return [Float]
20104
20365
  attr_accessor :num_constraints_satisfied
20105
20366
 
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
20367
  # Number of groundable arguments the intent has, populated by the Grounding Box.
20113
20368
  # Corresponds to the JSON property `numGroundableArgs`
20114
20369
  # @return [Float]
20115
20370
  attr_accessor :num_groundable_args
20116
20371
 
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
20372
  # Number of grounded arguments the intent has, populated by the Grounding Box.
20124
20373
  # Corresponds to the JSON property `numGroundedArgs`
20125
20374
  # @return [Float]
20126
20375
  attr_accessor :num_grounded_args
20127
20376
 
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
20377
  # Signals as proposed in go/improved-grounding-signals. Number of arguments,
20135
20378
  # possibly nested, that the Grounding Box tried to ground.
20136
20379
  # Corresponds to the JSON property `numVariables`
20137
20380
  # @return [Float]
20138
20381
  attr_accessor :num_variables
20139
20382
 
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
20383
  # Number of arguments, possibly nested, that the Grounding Box was able to
20147
20384
  # ground. This includes ambiguously grounded arguments.
20148
20385
  # Corresponds to the JSON property `numVariablesGrounded`
20149
20386
  # @return [Float]
20150
20387
  attr_accessor :num_variables_grounded
20151
20388
 
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
20389
  # Cosine similarity between predicted query-to-term model and assistant intent-
20159
20390
  # type-based salient terms. This is intended to be only used for ACE ranking and
20160
20391
  # only populated for assistant traffic.
@@ -20169,36 +20400,47 @@ module Google
20169
20400
  # @return [Float]
20170
20401
  attr_accessor :pq2t_vs_ibst_cosine
20171
20402
 
20403
+ # Average of per-word confidence for top speech recognition hypothesis. The
20404
+ # value is from RecognizerHypothesisLog: http://google3/logs/proto/speech/
20405
+ # service/recognizer_log.proto?l=848&rcl=281400256
20406
+ # Corresponds to the JSON property `topHypothesisConfidence`
20407
+ # @return [Float]
20408
+ attr_accessor :top_hypothesis_confidence
20409
+
20410
+ # Horizontal feature that stores information about confidence scores for each
20411
+ # resolution within the binding set.
20412
+ # Corresponds to the JSON property `verticalConfidenceScore`
20413
+ # @return [Float]
20414
+ attr_accessor :vertical_confidence_score
20415
+
20172
20416
  def initialize(**args)
20173
20417
  update!(**args)
20174
20418
  end
20175
20419
 
20176
20420
  # Update properties of this object
20177
20421
  def update!(**args)
20422
+ @binding_set_auis = args[:binding_set_auis] if args.key?(:binding_set_auis)
20178
20423
  @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
20424
  @dominant = args[:dominant] if args.key?(:dominant)
20181
20425
  @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
20182
20426
  @groundability_score = args[:groundability_score] if args.key?(:groundability_score)
20427
+ @grounding_provider_features = args[:grounding_provider_features] if args.key?(:grounding_provider_features)
20183
20428
  @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
20429
  @intent_name = args[:intent_name] if args.key?(:intent_name)
20185
20430
  @intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
20186
20431
  @intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
20187
20432
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
20433
+ @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
20188
20434
  @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
20435
  @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
20436
  @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
20437
  @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
20438
  @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
20439
  @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
20440
  @pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
20201
20441
  @pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
20442
+ @top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
20443
+ @vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
20202
20444
  end
20203
20445
  end
20204
20446
 
@@ -22855,7 +23097,7 @@ module Google
22855
23097
  # each field in CompositeDoc mean and who should I contact if I have questions?
22856
23098
  # To add a new field into CompositeDoc, or change existing field's size
22857
23099
  # significantly, please file a ticket at go/dj-new-field, fill in necessary
22858
- # information and get approved by docjoin-access@ team. Next id: 190
23100
+ # information and get approved by docjoin-access@ team. Next id: 191
22859
23101
  class CompositeDoc
22860
23102
  include Google::Apis::Core::Hashable
22861
23103
 
@@ -22983,6 +23225,12 @@ module Google
22983
23225
  # @return [Array<Google::Apis::ContentwarehouseV1::CompositeDocIncludedContent>]
22984
23226
  attr_accessor :includedcontent
22985
23227
 
23228
+ # Serialized indexing intermediate data.
23229
+ # Corresponds to the JSON property `indexingIntermediate`
23230
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
23231
+ # @return [String]
23232
+ attr_accessor :indexing_intermediate
23233
+
22986
23234
  # Contains information *mostly* used within indexing (e.g. not used for building
22987
23235
  # the production serving shards). Most of this data is generated only in
22988
23236
  # Alexandria, however there are exceptions.
@@ -23023,11 +23271,6 @@ module Google
23023
23271
  # @return [Google::Apis::ContentwarehouseV1::CompositeDocLocalizedVariations]
23024
23272
  attr_accessor :localizedvariations
23025
23273
 
23026
- # Manybox container message
23027
- # Corresponds to the JSON property `manyboxData`
23028
- # @return [Google::Apis::ContentwarehouseV1::ManyboxData]
23029
- attr_accessor :manybox_data
23030
-
23031
23274
  # Contains information about the partial updates present in a partial
23032
23275
  # CompositeDoc.
23033
23276
  # Corresponds to the JSON property `partialUpdateInfo`
@@ -23167,13 +23410,13 @@ module Google
23167
23410
  @extradup = args[:extradup] if args.key?(:extradup)
23168
23411
  @forwardingdup = args[:forwardingdup] if args.key?(:forwardingdup)
23169
23412
  @includedcontent = args[:includedcontent] if args.key?(:includedcontent)
23413
+ @indexing_intermediate = args[:indexing_intermediate] if args.key?(:indexing_intermediate)
23170
23414
  @indexinginfo = args[:indexinginfo] if args.key?(:indexinginfo)
23171
23415
  @label_data = args[:label_data] if args.key?(:label_data)
23172
23416
  @liveexperimentinfo = args[:liveexperimentinfo] if args.key?(:liveexperimentinfo)
23173
23417
  @localinfo = args[:localinfo] if args.key?(:localinfo)
23174
23418
  @localized_alternate_name = args[:localized_alternate_name] if args.key?(:localized_alternate_name)
23175
23419
  @localizedvariations = args[:localizedvariations] if args.key?(:localizedvariations)
23176
- @manybox_data = args[:manybox_data] if args.key?(:manybox_data)
23177
23420
  @partial_update_info = args[:partial_update_info] if args.key?(:partial_update_info)
23178
23421
  @per_doc_data = args[:per_doc_data] if args.key?(:per_doc_data)
23179
23422
  @porninfo = args[:porninfo] if args.key?(:porninfo)
@@ -23659,7 +23902,7 @@ module Google
23659
23902
  # each field in CompositeDoc mean and who should I contact if I have questions?
23660
23903
  # To add a new field into CompositeDoc, or change existing field's size
23661
23904
  # significantly, please file a ticket at go/dj-new-field, fill in necessary
23662
- # information and get approved by docjoin-access@ team. Next id: 190
23905
+ # information and get approved by docjoin-access@ team. Next id: 191
23663
23906
  # Corresponds to the JSON property `partialCdoc`
23664
23907
  # @return [Google::Apis::ContentwarehouseV1::CompositeDoc]
23665
23908
  attr_accessor :partial_cdoc
@@ -24000,7 +24243,7 @@ module Google
24000
24243
  # @return [Fixnum]
24001
24244
  attr_accessor :pq_data
24002
24245
 
24003
- # Stripped page-level signals, not present in the encoded field 'pq_data'.
24246
+ # Next id: 17
24004
24247
  # Corresponds to the JSON property `pqDataProto`
24005
24248
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrPqData]
24006
24249
  attr_accessor :pq_data_proto
@@ -31298,6 +31541,12 @@ module Google
31298
31541
  # @return [String]
31299
31542
  attr_accessor :core_version_token
31300
31543
 
31544
+ # Metadata to track feature derivations and replacements. This is used to track
31545
+ # feature provenance (particularly for road segments).
31546
+ # Corresponds to the JSON property `featureReplacementInfo`
31547
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureReplacementInfoProto]
31548
+ attr_accessor :feature_replacement_info
31549
+
31301
31550
  # Provenance information for sub-fields of this feature.
31302
31551
  # Corresponds to the JSON property `fieldMetadata`
31303
31552
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureFieldMetadataProto]
@@ -31334,6 +31583,7 @@ module Google
31334
31583
  def update!(**args)
31335
31584
  @bulk_updatable = args[:bulk_updatable] if args.key?(:bulk_updatable)
31336
31585
  @core_version_token = args[:core_version_token] if args.key?(:core_version_token)
31586
+ @feature_replacement_info = args[:feature_replacement_info] if args.key?(:feature_replacement_info)
31337
31587
  @field_metadata = args[:field_metadata] if args.key?(:field_metadata)
31338
31588
  @forwardings = args[:forwardings] if args.key?(:forwardings)
31339
31589
  @history = args[:history] if args.key?(:history)
@@ -31350,12 +31600,12 @@ module Google
31350
31600
  class GeostoreFeaturePropertyIdProto
31351
31601
  include Google::Apis::Core::Hashable
31352
31602
 
31353
- # field_type == ATTACHMENT
31603
+ # Required when field_type == ATTACHMENT.
31354
31604
  # Corresponds to the JSON property `attachmentTypeId`
31355
31605
  # @return [Fixnum]
31356
31606
  attr_accessor :attachment_type_id
31357
31607
 
31358
- # field_type == FEATURE_ATTRIBUTE
31608
+ # Required when field_type == FEATURE_ATTRIBUTE.
31359
31609
  # Corresponds to the JSON property `attributeId`
31360
31610
  # @return [String]
31361
31611
  attr_accessor :attribute_id
@@ -31365,11 +31615,16 @@ module Google
31365
31615
  # @return [String]
31366
31616
  attr_accessor :field_type
31367
31617
 
31368
- # field_type == KNOWLEDGE_GRAPH_PROPERTY
31618
+ # Required when field_type == KNOWLEDGE_GRAPH_PROPERTY.
31369
31619
  # Corresponds to the JSON property `kgPropertyId`
31370
31620
  # @return [String]
31371
31621
  attr_accessor :kg_property_id
31372
31622
 
31623
+ # RESERVED
31624
+ # Corresponds to the JSON property `nameLanguage`
31625
+ # @return [String]
31626
+ attr_accessor :name_language
31627
+
31373
31628
  def initialize(**args)
31374
31629
  update!(**args)
31375
31630
  end
@@ -31380,6 +31635,7 @@ module Google
31380
31635
  @attribute_id = args[:attribute_id] if args.key?(:attribute_id)
31381
31636
  @field_type = args[:field_type] if args.key?(:field_type)
31382
31637
  @kg_property_id = args[:kg_property_id] if args.key?(:kg_property_id)
31638
+ @name_language = args[:name_language] if args.key?(:name_language)
31383
31639
  end
31384
31640
  end
31385
31641
 
@@ -32361,6 +32617,34 @@ module Google
32361
32617
  end
32362
32618
  end
32363
32619
 
32620
+ # Metadata to track feature derivations and replacements. This is used to track
32621
+ # feature provenance (particularly for road segments).
32622
+ class GeostoreFeatureReplacementInfoProto
32623
+ include Google::Apis::Core::Hashable
32624
+
32625
+ # This feature was created to replace other features that are referenced by this
32626
+ # field.
32627
+ # Corresponds to the JSON property `derivedFrom`
32628
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
32629
+ attr_accessor :derived_from
32630
+
32631
+ # This feature was replaced by other features that are referenced by this this
32632
+ # field.
32633
+ # Corresponds to the JSON property `replacedBy`
32634
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
32635
+ attr_accessor :replaced_by
32636
+
32637
+ def initialize(**args)
32638
+ update!(**args)
32639
+ end
32640
+
32641
+ # Update properties of this object
32642
+ def update!(**args)
32643
+ @derived_from = args[:derived_from] if args.key?(:derived_from)
32644
+ @replaced_by = args[:replaced_by] if args.key?(:replaced_by)
32645
+ end
32646
+ end
32647
+
32364
32648
  # Internal field metadata. This part is not exposed to downstream consumers of
32365
32649
  # the repository (read-only clients) but is available to upstream providers to
32366
32650
  # the repository (read-write clients).
@@ -37290,7 +37574,8 @@ module Google
37290
37574
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceRangeProto>]
37291
37575
  attr_accessor :call_rate
37292
37576
 
37293
- # RESERVED
37577
+ # Disambiguates between the types of information or service a caller might seek
37578
+ # when contacting this phone number.
37294
37579
  # Corresponds to the JSON property `contactCategory`
37295
37580
  # @return [String]
37296
37581
  attr_accessor :contact_category
@@ -37340,7 +37625,13 @@ module Google
37340
37625
  # @return [Google::Apis::ContentwarehouseV1::I18nPhonenumbersPhoneNumber]
37341
37626
  attr_accessor :phone_number
37342
37627
 
37343
- # RESERVED
37628
+ # The features from which this phone number can be called from. For instance, if
37629
+ # a phone number can only be called from Europe, this field will contain a
37630
+ # reference to the TYPE_CONTINENT feature of Europe. This field is analogous to
37631
+ # http://kg/schema/common/phone_number/service_location. The only valid
37632
+ # destination feature types are TYPE_CONTINENT and TYPE_POLITICAL. If empty,
37633
+ # this phone number can be called from anywhere in Earth (this is the case for
37634
+ # the majority of phones).
37344
37635
  # Corresponds to the JSON property `serviceLocationFeature`
37345
37636
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
37346
37637
  attr_accessor :service_location_feature
@@ -41603,7 +41894,7 @@ module Google
41603
41894
  # @return [String]
41604
41895
  attr_accessor :create_mask
41605
41896
 
41606
- # Defines the structure for content warehouse document proto. Next ID: 20
41897
+ # Defines the structure for content warehouse document proto.
41607
41898
  # Corresponds to the JSON property `document`
41608
41899
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
41609
41900
  attr_accessor :document
@@ -41662,7 +41953,7 @@ module Google
41662
41953
  class GoogleCloudContentwarehouseV1CreateDocumentResponse
41663
41954
  include Google::Apis::Core::Hashable
41664
41955
 
41665
- # Defines the structure for content warehouse document proto. Next ID: 20
41956
+ # Defines the structure for content warehouse document proto.
41666
41957
  # Corresponds to the JSON property `document`
41667
41958
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
41668
41959
  attr_accessor :document
@@ -41823,7 +42114,7 @@ module Google
41823
42114
  end
41824
42115
  end
41825
42116
 
41826
- # Defines the structure for content warehouse document proto. Next ID: 20
42117
+ # Defines the structure for content warehouse document proto.
41827
42118
  class GoogleCloudContentwarehouseV1Document
41828
42119
  include Google::Apis::Core::Hashable
41829
42120
 
@@ -42026,7 +42317,7 @@ module Google
42026
42317
  end
42027
42318
  end
42028
42319
 
42029
- # NEXT_ID: 13
42320
+ #
42030
42321
  class GoogleCloudContentwarehouseV1DocumentQuery
42031
42322
  include Google::Apis::Core::Hashable
42032
42323
 
@@ -42445,7 +42736,7 @@ module Google
42445
42736
  end
42446
42737
  end
42447
42738
 
42448
- # Request message for DocumentService.GetDocument. Next ID: 4
42739
+ # Request message for DocumentService.GetDocument.
42449
42740
  class GoogleCloudContentwarehouseV1GetDocumentRequest
42450
42741
  include Google::Apis::Core::Hashable
42451
42742
 
@@ -43026,7 +43317,7 @@ module Google
43026
43317
  end
43027
43318
  end
43028
43319
 
43029
- # Defines the metadata for a schema property. Next ID: 18
43320
+ # Defines the metadata for a schema property.
43030
43321
  class GoogleCloudContentwarehouseV1PropertyDefinition
43031
43322
  include Google::Apis::Core::Hashable
43032
43323
 
@@ -43482,7 +43773,7 @@ module Google
43482
43773
  end
43483
43774
  end
43484
43775
 
43485
- # Represents a set of rules from a single customer. Next id: 9
43776
+ # Represents a set of rules from a single customer.
43486
43777
  class GoogleCloudContentwarehouseV1RuleSet
43487
43778
  include Google::Apis::Core::Hashable
43488
43779
 
@@ -43521,11 +43812,11 @@ module Google
43521
43812
  end
43522
43813
  end
43523
43814
 
43524
- #
43815
+ # Request message for DocumentService.SearchDocuments.
43525
43816
  class GoogleCloudContentwarehouseV1SearchDocumentsRequest
43526
43817
  include Google::Apis::Core::Hashable
43527
43818
 
43528
- # NEXT_ID: 13
43819
+ # Query used to search against documents (keyword, filters, etc.).
43529
43820
  # Corresponds to the JSON property `documentQuery`
43530
43821
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1DocumentQuery]
43531
43822
  attr_accessor :document_query
@@ -43599,7 +43890,9 @@ module Google
43599
43890
 
43600
43891
  # Optional. Controls if the search document request requires the return of a
43601
43892
  # total size of matched documents. See SearchDocumentsResponse.total_size.
43602
- # Enabling this flag may adversely impact performance. Defaults to false.
43893
+ # Enabling this flag may adversely impact performance. Hint: If this is used
43894
+ # with pagination, set this flag on the initial query but set this to false on
43895
+ # subsequent page calls (keep the total count locally). Defaults to false.
43603
43896
  # Corresponds to the JSON property `requireTotalSize`
43604
43897
  # @return [Boolean]
43605
43898
  attr_accessor :require_total_size
@@ -43651,7 +43944,10 @@ module Google
43651
43944
 
43652
43945
  # The total number of matched documents which is available only if the client
43653
43946
  # set SearchDocumentsRequest.require_total_size to `true`. Otherwise, the value
43654
- # will be `-1`.
43947
+ # will be `-1`. `total_size` will max at "100,000". If this is returned, then it
43948
+ # can be assumed that the count is equal to or greater than 100,000. Typically a
43949
+ # UI would handle this condition by displaying "of many", for example: "
43950
+ # Displaying 10 of many".
43655
43951
  # Corresponds to the JSON property `totalSize`
43656
43952
  # @return [Fixnum]
43657
43953
  attr_accessor :total_size
@@ -43674,7 +43970,7 @@ module Google
43674
43970
  class GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument
43675
43971
  include Google::Apis::Core::Hashable
43676
43972
 
43677
- # Defines the structure for content warehouse document proto. Next ID: 20
43973
+ # Defines the structure for content warehouse document proto.
43678
43974
  # Corresponds to the JSON property `document`
43679
43975
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
43680
43976
  attr_accessor :document
@@ -44015,7 +44311,7 @@ module Google
44015
44311
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1CloudAiDocumentOption]
44016
44312
  attr_accessor :cloud_ai_document_option
44017
44313
 
44018
- # Defines the structure for content warehouse document proto. Next ID: 20
44314
+ # Defines the structure for content warehouse document proto.
44019
44315
  # Corresponds to the JSON property `document`
44020
44316
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
44021
44317
  attr_accessor :document
@@ -44047,7 +44343,7 @@ module Google
44047
44343
  class GoogleCloudContentwarehouseV1UpdateDocumentResponse
44048
44344
  include Google::Apis::Core::Hashable
44049
44345
 
44050
- # Defines the structure for content warehouse document proto. Next ID: 20
44346
+ # Defines the structure for content warehouse document proto.
44051
44347
  # Corresponds to the JSON property `document`
44052
44348
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
44053
44349
  attr_accessor :document
@@ -44130,7 +44426,7 @@ module Google
44130
44426
  class GoogleCloudContentwarehouseV1UpdateRuleSetRequest
44131
44427
  include Google::Apis::Core::Hashable
44132
44428
 
44133
- # Represents a set of rules from a single customer. Next id: 9
44429
+ # Represents a set of rules from a single customer.
44134
44430
  # Corresponds to the JSON property `ruleSet`
44135
44431
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RuleSet]
44136
44432
  attr_accessor :rule_set
@@ -44718,6 +45014,11 @@ module Google
44718
45014
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImage]
44719
45015
  attr_accessor :image
44720
45016
 
45017
+ # Image Quality Scores for the page image
45018
+ # Corresponds to the JSON property `imageQualityScores`
45019
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
45020
+ attr_accessor :image_quality_scores
45021
+
44721
45022
  # Visual element describing a layout unit on a page.
44722
45023
  # Corresponds to the JSON property `layout`
44723
45024
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageLayout]
@@ -44786,6 +45087,7 @@ module Google
44786
45087
  @dimension = args[:dimension] if args.key?(:dimension)
44787
45088
  @form_fields = args[:form_fields] if args.key?(:form_fields)
44788
45089
  @image = args[:image] if args.key?(:image)
45090
+ @image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
44789
45091
  @layout = args[:layout] if args.key?(:layout)
44790
45092
  @lines = args[:lines] if args.key?(:lines)
44791
45093
  @page_number = args[:page_number] if args.key?(:page_number)
@@ -45087,6 +45389,60 @@ module Google
45087
45389
  end
45088
45390
  end
45089
45391
 
45392
+ # Image Quality Scores for the page image
45393
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
45394
+ include Google::Apis::Core::Hashable
45395
+
45396
+ # A list of detected defects.
45397
+ # Corresponds to the JSON property `detectedDefects`
45398
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
45399
+ attr_accessor :detected_defects
45400
+
45401
+ # The overall quality score. Range [0, 1] where 1 is perfect quality.
45402
+ # Corresponds to the JSON property `qualityScore`
45403
+ # @return [Float]
45404
+ attr_accessor :quality_score
45405
+
45406
+ def initialize(**args)
45407
+ update!(**args)
45408
+ end
45409
+
45410
+ # Update properties of this object
45411
+ def update!(**args)
45412
+ @detected_defects = args[:detected_defects] if args.key?(:detected_defects)
45413
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
45414
+ end
45415
+ end
45416
+
45417
+ # Image Quality Defects
45418
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
45419
+ include Google::Apis::Core::Hashable
45420
+
45421
+ # Confidence of detected defect. Range [0, 1] where 1 indicates strong
45422
+ # confidence of that the defect exists.
45423
+ # Corresponds to the JSON property `confidence`
45424
+ # @return [Float]
45425
+ attr_accessor :confidence
45426
+
45427
+ # Name of the defect type. Supported values are "quality/defect_blurry", "
45428
+ # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
45429
+ # defect_text_too_small", "quality/defect_document_cutoff", "quality/
45430
+ # defect_text_cutoff", "quality/defect_glare"
45431
+ # Corresponds to the JSON property `type`
45432
+ # @return [String]
45433
+ attr_accessor :type
45434
+
45435
+ def initialize(**args)
45436
+ update!(**args)
45437
+ end
45438
+
45439
+ # Update properties of this object
45440
+ def update!(**args)
45441
+ @confidence = args[:confidence] if args.key?(:confidence)
45442
+ @type = args[:type] if args.key?(:type)
45443
+ end
45444
+ end
45445
+
45090
45446
  # Visual element describing a layout unit on a page.
45091
45447
  class GoogleCloudDocumentaiV1DocumentPageLayout
45092
45448
  include Google::Apis::Core::Hashable
@@ -45282,6 +45638,12 @@ module Google
45282
45638
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageLayout]
45283
45639
  attr_accessor :layout
45284
45640
 
45641
+ # Structure to identify provenance relationships between annotations in
45642
+ # different revisions.
45643
+ # Corresponds to the JSON property `provenance`
45644
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentProvenance]
45645
+ attr_accessor :provenance
45646
+
45285
45647
  def initialize(**args)
45286
45648
  update!(**args)
45287
45649
  end
@@ -45292,6 +45654,7 @@ module Google
45292
45654
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
45293
45655
  @header_rows = args[:header_rows] if args.key?(:header_rows)
45294
45656
  @layout = args[:layout] if args.key?(:layout)
45657
+ @provenance = args[:provenance] if args.key?(:provenance)
45295
45658
  end
45296
45659
  end
45297
45660
 
@@ -46293,6 +46656,19 @@ module Google
46293
46656
  class GoogleInternalAppsWaldoV1alphaDoNotDisturb
46294
46657
  include Google::Apis::Core::Hashable
46295
46658
 
46659
+ # The time when the user will stop being committed, i.e., when their status will
46660
+ # be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh.
46661
+ # Corresponds to the JSON property `committedUntil`
46662
+ # @return [String]
46663
+ attr_accessor :committed_until
46664
+
46665
+ # Whether the status of the user until committed_until has more than one status
46666
+ # type (e.g. DoNotDisturb + InMeeting).
46667
+ # Corresponds to the JSON property `committedUntilIsMixed`
46668
+ # @return [Boolean]
46669
+ attr_accessor :committed_until_is_mixed
46670
+ alias_method :committed_until_is_mixed?, :committed_until_is_mixed
46671
+
46296
46672
  # The next time when the user will be available, i.e., when their status will be
46297
46673
  # neither InMeeting, CalendarBusy, DoNotDisturb, OutsideWorkingHours, nor
46298
46674
  # OutOfOffice.
@@ -46312,6 +46688,8 @@ module Google
46312
46688
 
46313
46689
  # Update properties of this object
46314
46690
  def update!(**args)
46691
+ @committed_until = args[:committed_until] if args.key?(:committed_until)
46692
+ @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
46315
46693
  @next_available = args[:next_available] if args.key?(:next_available)
46316
46694
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
46317
46695
  end
@@ -46334,6 +46712,21 @@ module Google
46334
46712
  class GoogleInternalAppsWaldoV1alphaInMeeting
46335
46713
  include Google::Apis::Core::Hashable
46336
46714
 
46715
+ # The time when the user will stop being committed, i.e., when their status will
46716
+ # be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh. Note that the goal
46717
+ # of this field is to provide information to help users decide how to
46718
+ # communicate with a user (see also http://shortn/_wXYXtZScgh).
46719
+ # Corresponds to the JSON property `committedUntil`
46720
+ # @return [String]
46721
+ attr_accessor :committed_until
46722
+
46723
+ # Whether the status of the user until committed_until has more than one status
46724
+ # type (e.g. InMeeting + DoNotDisturb).
46725
+ # Corresponds to the JSON property `committedUntilIsMixed`
46726
+ # @return [Boolean]
46727
+ attr_accessor :committed_until_is_mixed
46728
+ alias_method :committed_until_is_mixed?, :committed_until_is_mixed
46729
+
46337
46730
  # The summary of the corresponding event in Calendar.
46338
46731
  # Corresponds to the JSON property `eventSummary`
46339
46732
  # @return [String]
@@ -46352,7 +46745,7 @@ module Google
46352
46745
  attr_accessor :next_available
46353
46746
 
46354
46747
  # The time when the user will stop being occupied, i.e., when their status will
46355
- # be neither inMeeting, Busy nor DoNotDisturb.
46748
+ # be neither InMeeting, Busy nor DoNotDisturb.
46356
46749
  # Corresponds to the JSON property `occupiedUntil`
46357
46750
  # @return [String]
46358
46751
  attr_accessor :occupied_until
@@ -46363,6 +46756,8 @@ module Google
46363
46756
 
46364
46757
  # Update properties of this object
46365
46758
  def update!(**args)
46759
+ @committed_until = args[:committed_until] if args.key?(:committed_until)
46760
+ @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
46366
46761
  @event_summary = args[:event_summary] if args.key?(:event_summary)
46367
46762
  @in_meetings_until = args[:in_meetings_until] if args.key?(:in_meetings_until)
46368
46763
  @next_available = args[:next_available] if args.key?(:next_available)
@@ -46374,12 +46769,26 @@ module Google
46374
46769
  class GoogleInternalAppsWaldoV1alphaInactive
46375
46770
  include Google::Apis::Core::Hashable
46376
46771
 
46772
+ # The actual status of the user. The message contains everything needed for
46773
+ # visualisation of this status.
46774
+ # Corresponds to the JSON property `nextCommitmentStatus`
46775
+ # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUserStatus]
46776
+ attr_accessor :next_commitment_status
46777
+
46778
+ # The time when the user will start having a status of InMeeting, DoNotDisturb
46779
+ # or short OutOfOffice.
46780
+ # Corresponds to the JSON property `nextCommitmentTime`
46781
+ # @return [String]
46782
+ attr_accessor :next_commitment_time
46783
+
46377
46784
  def initialize(**args)
46378
46785
  update!(**args)
46379
46786
  end
46380
46787
 
46381
46788
  # Update properties of this object
46382
46789
  def update!(**args)
46790
+ @next_commitment_status = args[:next_commitment_status] if args.key?(:next_commitment_status)
46791
+ @next_commitment_time = args[:next_commitment_time] if args.key?(:next_commitment_time)
46383
46792
  end
46384
46793
  end
46385
46794
 
@@ -50604,7 +51013,7 @@ module Google
50604
51013
  attr_accessor :photo_detector_version
50605
51014
 
50606
51015
  # A protocol buffer to store the url, referer and porn flag for a url. and an
50607
- # optional image score. Next available tag id: 50.
51016
+ # optional image score. Next available tag id: 51.
50608
51017
  # Corresponds to the JSON property `pornFlagData`
50609
51018
  # @return [Google::Apis::ContentwarehouseV1::PornFlagData]
50610
51019
  attr_accessor :porn_flag_data
@@ -53673,11 +54082,6 @@ module Google
53673
54082
  # @return [Float]
53674
54083
  attr_accessor :ocr_prominence_score
53675
54084
 
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
54085
  # Image OCR racyness/pornyness, computed by porn query classifier.
53682
54086
  # Corresponds to the JSON property `pornScore`
53683
54087
  # @return [Float]
@@ -53716,7 +54120,6 @@ module Google
53716
54120
  # Update properties of this object
53717
54121
  def update!(**args)
53718
54122
  @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
54123
  @porn_score = args[:porn_score] if args.key?(:porn_score)
53721
54124
  @prominent_offensive_score = args[:prominent_offensive_score] if args.key?(:prominent_offensive_score)
53722
54125
  @prominent_vulgar_score = args[:prominent_vulgar_score] if args.key?(:prominent_vulgar_score)
@@ -55495,12 +55898,17 @@ module Google
55495
55898
  class IndexingDocjoinerDataVersion
55496
55899
  include Google::Apis::Core::Hashable
55497
55900
 
55498
- # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
55499
- # sdl)
55901
+ #
55500
55902
  # Corresponds to the JSON property `acceleratedShoppingSignal`
55501
55903
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
55502
55904
  attr_accessor :accelerated_shopping_signal
55503
55905
 
55906
+ # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
55907
+ # sdl)
55908
+ # Corresponds to the JSON property `chromeCounts`
55909
+ # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
55910
+ attr_accessor :chrome_counts
55911
+
55504
55912
  #
55505
55913
  # Corresponds to the JSON property `localyp`
55506
55914
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
@@ -55568,6 +55976,7 @@ module Google
55568
55976
  # Update properties of this object
55569
55977
  def update!(**args)
55570
55978
  @accelerated_shopping_signal = args[:accelerated_shopping_signal] if args.key?(:accelerated_shopping_signal)
55979
+ @chrome_counts = args[:chrome_counts] if args.key?(:chrome_counts)
55571
55980
  @localyp = args[:localyp] if args.key?(:localyp)
55572
55981
  @localyp_version = args[:localyp_version] if args.key?(:localyp_version)
55573
55982
  @modern_format_content = args[:modern_format_content] if args.key?(:modern_format_content)
@@ -60772,7 +61181,7 @@ module Google
60772
61181
 
60773
61182
  # Signals to be used by the Prefulfillment Ranker. Derived from the
60774
61183
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
60775
- # Next ID: 25
61184
+ # Next ID: 30
60776
61185
  # Corresponds to the JSON property `prefulfillmentSignals`
60777
61186
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
60778
61187
  attr_accessor :prefulfillment_signals
@@ -66293,37 +66702,6 @@ module Google
66293
66702
  end
66294
66703
  end
66295
66704
 
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
66705
  # Flags that describe the information about a special word. If you add another
66328
66706
  # flag please add it to the special words implemenation in google3/maps/quality/
66329
66707
  # internal/special_words.cc. -- Next available id: 20 --
@@ -67443,7 +67821,7 @@ module Google
67443
67821
  end
67444
67822
  end
67445
67823
 
67446
- # Next ID: 6
67824
+ # Next ID: 7
67447
67825
  class NewsReconServiceLrsQ2lrs2EntryPayload
67448
67826
  include Google::Apis::Core::Hashable
67449
67827
 
@@ -67465,6 +67843,12 @@ module Google
67465
67843
  attr_accessor :is_planned_moment
67466
67844
  alias_method :is_planned_moment?, :is_planned_moment
67467
67845
 
67846
+ # This is meant to hold `LongRunningStory.Type`s only, unfortunately adding an
67847
+ # import here causes a circular dependency.
67848
+ # Corresponds to the JSON property `lrsTypes`
67849
+ # @return [Array<Fixnum>]
67850
+ attr_accessor :lrs_types
67851
+
67468
67852
  #
67469
67853
  # Corresponds to the JSON property `momentRankingScore`
67470
67854
  # @return [Fixnum]
@@ -67485,6 +67869,7 @@ module Google
67485
67869
  @is_daily_moment = args[:is_daily_moment] if args.key?(:is_daily_moment)
67486
67870
  @is_moment_any_flavor = args[:is_moment_any_flavor] if args.key?(:is_moment_any_flavor)
67487
67871
  @is_planned_moment = args[:is_planned_moment] if args.key?(:is_planned_moment)
67872
+ @lrs_types = args[:lrs_types] if args.key?(:lrs_types)
67488
67873
  @moment_ranking_score = args[:moment_ranking_score] if args.key?(:moment_ranking_score)
67489
67874
  @out_kg_feature_types = args[:out_kg_feature_types] if args.key?(:out_kg_feature_types)
67490
67875
  end
@@ -67549,7 +67934,7 @@ module Google
67549
67934
  # @return [Fixnum]
67550
67935
  attr_accessor :entry_index
67551
67936
 
67552
- # Next ID: 6
67937
+ # Next ID: 7
67553
67938
  # Corresponds to the JSON property `internalPayload`
67554
67939
  # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2EntryPayload]
67555
67940
  attr_accessor :internal_payload
@@ -70394,7 +70779,7 @@ module Google
70394
70779
  # always filled; for (minute, second, partial_second), they are optional with a
70395
70780
  # zero default value. But if partial_second is filled, (minute, second) must be
70396
70781
  # filled, even they are 0s; if second is filled, minute must be filled. Next
70397
- # field#: 21.
70782
+ # field#: 22.
70398
70783
  class NlpSemanticParsingDatetimeAbsoluteDateTime
70399
70784
  include Google::Apis::Core::Hashable
70400
70785
 
@@ -70427,7 +70812,9 @@ module Google
70427
70812
  # @return [Fixnum]
70428
70813
  attr_accessor :hour
70429
70814
 
70430
- #
70815
+ # Note: This is marked as deprecated as we are moving into explicit parses using
70816
+ # the `meridiem` field, and leave the inference over implicit parses to the
70817
+ # grounding/resolution libraries.
70431
70818
  # Corresponds to the JSON property `hourState`
70432
70819
  # @return [String]
70433
70820
  attr_accessor :hour_state
@@ -70440,6 +70827,13 @@ module Google
70440
70827
  attr_accessor :is_bc
70441
70828
  alias_method :is_bc?, :is_bc
70442
70829
 
70830
+ # For expressions such as "am", "pm". Note: the name "meridiem" has been taken
70831
+ # by a field in message ResolutionProperties. Examples: * "9 am": point ` hour:
70832
+ # 9 meridiem: AM hour_state: UNAMBIGUOUS `
70833
+ # Corresponds to the JSON property `meridiem`
70834
+ # @return [String]
70835
+ attr_accessor :meridiem
70836
+
70443
70837
  #
70444
70838
  # Corresponds to the JSON property `minute`
70445
70839
  # @return [Fixnum]
@@ -70538,6 +70932,7 @@ module Google
70538
70932
  @hour = args[:hour] if args.key?(:hour)
70539
70933
  @hour_state = args[:hour_state] if args.key?(:hour_state)
70540
70934
  @is_bc = args[:is_bc] if args.key?(:is_bc)
70935
+ @meridiem = args[:meridiem] if args.key?(:meridiem)
70541
70936
  @minute = args[:minute] if args.key?(:minute)
70542
70937
  @modifier = args[:modifier] if args.key?(:modifier)
70543
70938
  @month = args[:month] if args.key?(:month)
@@ -70827,6 +71222,11 @@ module Google
70827
71222
  class NlpSemanticParsingDatetimeEvent
70828
71223
  include Google::Apis::Core::Hashable
70829
71224
 
71225
+ #
71226
+ # Corresponds to the JSON property `holiday`
71227
+ # @return [String]
71228
+ attr_accessor :holiday
71229
+
70830
71230
  #
70831
71231
  # Corresponds to the JSON property `moonEvent`
70832
71232
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeMoonEventInfo]
@@ -70848,6 +71248,7 @@ module Google
70848
71248
 
70849
71249
  # Update properties of this object
70850
71250
  def update!(**args)
71251
+ @holiday = args[:holiday] if args.key?(:holiday)
70851
71252
  @moon_event = args[:moon_event] if args.key?(:moon_event)
70852
71253
  @sun_event = args[:sun_event] if args.key?(:sun_event)
70853
71254
  @type = args[:type] if args.key?(:type)
@@ -71129,7 +71530,7 @@ module Google
71129
71530
  # always filled; for (minute, second, partial_second), they are optional with a
71130
71531
  # zero default value. But if partial_second is filled, (minute, second) must be
71131
71532
  # filled, even they are 0s; if second is filled, minute must be filled. Next
71132
- # field#: 21.
71533
+ # field#: 22.
71133
71534
  # Corresponds to the JSON property `begin`
71134
71535
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeAbsoluteDateTime]
71135
71536
  attr_accessor :begin
@@ -71158,7 +71559,7 @@ module Google
71158
71559
  # always filled; for (minute, second, partial_second), they are optional with a
71159
71560
  # zero default value. But if partial_second is filled, (minute, second) must be
71160
71561
  # filled, even they are 0s; if second is filled, minute must be filled. Next
71161
- # field#: 21.
71562
+ # field#: 22.
71162
71563
  # Corresponds to the JSON property `end`
71163
71564
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeAbsoluteDateTime]
71164
71565
  attr_accessor :end
@@ -71480,7 +71881,9 @@ module Google
71480
71881
  class NlpSemanticParsingDatetimeResolutionProperties
71481
71882
  include Google::Apis::Core::Hashable
71482
71883
 
71483
- # Simple enum container for exporting meridiem mentions.
71884
+ # Simple enum container for exporting meridiem mentions. Note: this is marked as
71885
+ # deprecated as we are moving to properly parse expressions with explicit
71886
+ # meridiem information.
71484
71887
  # Corresponds to the JSON property `meridiem`
71485
71888
  # @return [String]
71486
71889
  attr_accessor :meridiem
@@ -71521,7 +71924,7 @@ module Google
71521
71924
  # always filled; for (minute, second, partial_second), they are optional with a
71522
71925
  # zero default value. But if partial_second is filled, (minute, second) must be
71523
71926
  # filled, even they are 0s; if second is filled, minute must be filled. Next
71524
- # field#: 21.
71927
+ # field#: 22.
71525
71928
  # Corresponds to the JSON property `base`
71526
71929
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingDatetimeAbsoluteDateTime]
71527
71930
  attr_accessor :base
@@ -72294,6 +72697,25 @@ module Google
72294
72697
  end
72295
72698
  end
72296
72699
 
72700
+ # Constraint for the health insurance network of a provider.
72701
+ class NlpSemanticParsingLocalHealthInsuranceConstraint
72702
+ include Google::Apis::Core::Hashable
72703
+
72704
+ #
72705
+ # Corresponds to the JSON property `network`
72706
+ # @return [String]
72707
+ attr_accessor :network
72708
+
72709
+ def initialize(**args)
72710
+ update!(**args)
72711
+ end
72712
+
72713
+ # Update properties of this object
72714
+ def update!(**args)
72715
+ @network = args[:network] if args.key?(:network)
72716
+ end
72717
+ end
72718
+
72297
72719
  # Hotel Type used by the hotels team to differentiate sub classes of
72298
72720
  # accommodations. For any questions please contact hotel-search-quality@. Next
72299
72721
  # ID: 48
@@ -73049,7 +73471,7 @@ module Google
73049
73471
  # location and can be nested accordingly. E.g., for a compound location the
73050
73472
  # constraint may be associated with the entire location or with either of the
73051
73473
  # two internal locations (loc_1 and loc_2). There is an implicit AND relation
73052
- # between the different constraints. Next ID: 23.
73474
+ # between the different constraints. Next ID: 24.
73053
73475
  class NlpSemanticParsingLocalLocationConstraint
73054
73476
  include Google::Apis::Core::Hashable
73055
73477
 
@@ -73082,6 +73504,11 @@ module Google
73082
73504
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalGcidConstraint]
73083
73505
  attr_accessor :gcid_constraint
73084
73506
 
73507
+ # Constraint for the health insurance network of a provider.
73508
+ # Corresponds to the JSON property `healthInsurance`
73509
+ # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalHealthInsuranceConstraint]
73510
+ attr_accessor :health_insurance
73511
+
73085
73512
  # Message containing information about hyper-reliable categories. go/local-hyper-
73086
73513
  # reliable
73087
73514
  # Corresponds to the JSON property `hyperReliableData`
@@ -73192,6 +73619,7 @@ module Google
73192
73619
  @cuisine = args[:cuisine] if args.key?(:cuisine)
73193
73620
  @evcs_speed_constraint = args[:evcs_speed_constraint] if args.key?(:evcs_speed_constraint)
73194
73621
  @gcid_constraint = args[:gcid_constraint] if args.key?(:gcid_constraint)
73622
+ @health_insurance = args[:health_insurance] if args.key?(:health_insurance)
73195
73623
  @hyper_reliable_data = args[:hyper_reliable_data] if args.key?(:hyper_reliable_data)
73196
73624
  @menu_item = args[:menu_item] if args.key?(:menu_item)
73197
73625
  @new = args[:new] if args.key?(:new)
@@ -82067,7 +82495,8 @@ module Google
82067
82495
 
82068
82496
  # Stores freshness and aging related data, such as time-related quality metrics
82069
82497
  # predicted from url-pattern level signals. Use the encoding decoding API in
82070
- # quality/freshness/docclassifier/aging/encoded-pattern-signals.h
82498
+ # quality/freshness/docclassifier/aging/encoded-pattern-signals.h This field is
82499
+ # deprecated.
82071
82500
  # Corresponds to the JSON property `freshnessEncodedSignals`
82072
82501
  # @return [Fixnum]
82073
82502
  attr_accessor :freshness_encoded_signals
@@ -82187,7 +82616,7 @@ module Google
82187
82616
  attr_accessor :noimageframeoverlayreason
82188
82617
 
82189
82618
  # NOTE: When adding a new field to be propagated to Raffia check if
82190
- # NsrPatternSignalSpec needs to be updated. Next ID: 31
82619
+ # NsrPatternSignalSpec needs to be updated. Next ID: 48
82191
82620
  # Corresponds to the JSON property `nsrDataProto`
82192
82621
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
82193
82622
  attr_accessor :nsr_data_proto
@@ -85579,7 +86008,7 @@ module Google
85579
86008
  end
85580
86009
 
85581
86010
  # A protocol buffer to store the url, referer and porn flag for a url. and an
85582
- # optional image score. Next available tag id: 50.
86011
+ # optional image score. Next available tag id: 51.
85583
86012
  class PornFlagData
85584
86013
  include Google::Apis::Core::Hashable
85585
86014
 
@@ -85638,11 +86067,6 @@ module Google
85638
86067
  # @return [String]
85639
86068
  attr_accessor :final_violence_score_version
85640
86069
 
85641
- #
85642
- # Corresponds to the JSON property `imageEntitiesViolenceScore`
85643
- # @return [Float]
85644
- attr_accessor :image_entities_violence_score
85645
-
85646
86070
  # PornStatsImage is repeated even though we use only a single version, to help
85647
86071
  # with rolling out new versions with miminum risk. Multiple versions should
85648
86072
  # exist only for a short window of time. Once the new version is rolled out, the
@@ -85651,6 +86075,12 @@ module Google
85651
86075
  # @return [Array<Google::Apis::ContentwarehouseV1::PornStatsImage>]
85652
86076
  attr_accessor :image_stats
85653
86077
 
86078
+ # A proto that stores SafeSearch internal signals that are not exported to
86079
+ # clients.
86080
+ # Corresponds to the JSON property `internalSignals`
86081
+ # @return [Google::Apis::ContentwarehouseV1::SafesearchInternalImageSignals]
86082
+ attr_accessor :internal_signals
86083
+
85654
86084
  # largest face, scaled by 1000 This field is same as ImageData.largest_face_frac.
85655
86085
  # Corresponds to the JSON property `largestFaceFrac`
85656
86086
  # @return [Float]
@@ -85766,16 +86196,6 @@ module Google
85766
86196
  # @return [Float]
85767
86197
  attr_accessor :semantic_sexualization_score
85768
86198
 
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
86199
  # PornStatsText is repeated even though we use only a single version, to help
85780
86200
  # with rolling out new versions with miminum risk. Multiple versions should
85781
86201
  # exist only for a short window of time. Once the new version is rolled out, the
@@ -85809,8 +86229,8 @@ module Google
85809
86229
  @final_offensive_score = args[:final_offensive_score] if args.key?(:final_offensive_score)
85810
86230
  @final_violence_score = args[:final_violence_score] if args.key?(:final_violence_score)
85811
86231
  @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
86232
  @image_stats = args[:image_stats] if args.key?(:image_stats)
86233
+ @internal_signals = args[:internal_signals] if args.key?(:internal_signals)
85814
86234
  @largest_face_frac = args[:largest_face_frac] if args.key?(:largest_face_frac)
85815
86235
  @largest_face_fraction = args[:largest_face_fraction] if args.key?(:largest_face_fraction)
85816
86236
  @number_faces = args[:number_faces] if args.key?(:number_faces)
@@ -85830,8 +86250,6 @@ module Google
85830
86250
  @referer = args[:referer] if args.key?(:referer)
85831
86251
  @referrer_counts = args[:referrer_counts] if args.key?(:referrer_counts)
85832
86252
  @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
86253
  @text_stats = args[:text_stats] if args.key?(:text_stats)
85836
86254
  @url = args[:url] if args.key?(:url)
85837
86255
  @url_porn_scores = args[:url_porn_scores] if args.key?(:url_porn_scores)
@@ -89011,7 +89429,7 @@ module Google
89011
89429
  end
89012
89430
 
89013
89431
  # NOTE: When adding a new field to be propagated to Raffia check if
89014
- # NsrPatternSignalSpec needs to be updated. Next ID: 31
89432
+ # NsrPatternSignalSpec needs to be updated. Next ID: 48
89015
89433
  class QualityNsrNsrData
89016
89434
  include Google::Apis::Core::Hashable
89017
89435
 
@@ -89025,6 +89443,16 @@ module Google
89025
89443
  # @return [Float]
89026
89444
  attr_accessor :article_score_v2
89027
89445
 
89446
+ # Site-level chard score: site quality predictor based on content.
89447
+ # Corresponds to the JSON property `chard`
89448
+ # @return [Float]
89449
+ attr_accessor :chard
89450
+
89451
+ #
89452
+ # Corresponds to the JSON property `chardVariance`
89453
+ # @return [Float]
89454
+ attr_accessor :chard_variance
89455
+
89028
89456
  # An id for defining clusters of sites. Used in ecosystem experiments (project
89029
89457
  # Tundra).
89030
89458
  # Corresponds to the JSON property `clusterId`
@@ -89042,11 +89470,36 @@ module Google
89042
89470
  # @return [Float]
89043
89471
  attr_accessor :clutter_score
89044
89472
 
89473
+ #
89474
+ # Corresponds to the JSON property `clutterScores`
89475
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
89476
+ attr_accessor :clutter_scores
89477
+
89478
+ #
89479
+ # Corresponds to the JSON property `directFrac`
89480
+ # @return [Float]
89481
+ attr_accessor :direct_frac
89482
+
89483
+ # Categorical signals.
89484
+ # Corresponds to the JSON property `healthScore`
89485
+ # @return [Float]
89486
+ attr_accessor :health_score
89487
+
89045
89488
  #
89046
89489
  # Corresponds to the JSON property `host`
89047
89490
  # @return [String]
89048
89491
  attr_accessor :host
89049
89492
 
89493
+ # Currently corresponds to i18n_g42_bucket.
89494
+ # Corresponds to the JSON property `i18nBucket`
89495
+ # @return [Fixnum]
89496
+ attr_accessor :i18n_bucket
89497
+
89498
+ # Site-level impressions.
89499
+ # Corresponds to the JSON property `impressions`
89500
+ # @return [Float]
89501
+ attr_accessor :impressions
89502
+
89050
89503
  # Bit to determine whether the site has the local authority covid signal, as
89051
89504
  # computed by go/covid-local-authority
89052
89505
  # Corresponds to the JSON property `isCovidLocalAuthority`
@@ -89070,6 +89523,16 @@ module Google
89070
89523
  attr_accessor :is_video_focused_site
89071
89524
  alias_method :is_video_focused_site?, :is_video_focused_site
89072
89525
 
89526
+ #
89527
+ # Corresponds to the JSON property `language`
89528
+ # @return [Fixnum]
89529
+ attr_accessor :language
89530
+
89531
+ #
89532
+ # Corresponds to the JSON property `largeOrgId`
89533
+ # @return [Fixnum]
89534
+ attr_accessor :large_org_id
89535
+
89073
89536
  # Locality score of the site, i.e. the locality component of the LocalAuthority
89074
89537
  # signal (see go/pq-localauthority).
89075
89538
  # Corresponds to the JSON property `localityScore`
@@ -89111,12 +89574,22 @@ module Google
89111
89574
  attr_accessor :nsrdata_from_fallback_pattern_key
89112
89575
  alias_method :nsrdata_from_fallback_pattern_key?, :nsrdata_from_fallback_pattern_key
89113
89576
 
89577
+ # Fractional signals.
89578
+ # Corresponds to the JSON property `pnav`
89579
+ # @return [Float]
89580
+ attr_accessor :pnav
89581
+
89114
89582
  # Secondary NSR sitechunk. When present, it provides more granular chunking than
89115
89583
  # primary sitechunks (see quality/nsr/util/sitechunker.h for details).
89116
89584
  # Corresponds to the JSON property `secondarySiteChunk`
89117
89585
  # @return [String]
89118
89586
  attr_accessor :secondary_site_chunk
89119
89587
 
89588
+ #
89589
+ # Corresponds to the JSON property `shoppingScore`
89590
+ # @return [Float]
89591
+ attr_accessor :shopping_score
89592
+
89120
89593
  # Aggregated value of url autopilot scores for this sitechunk.
89121
89594
  # Corresponds to the JSON property `siteAutopilotScore`
89122
89595
  # @return [Float]
@@ -89162,6 +89635,21 @@ module Google
89162
89635
  # @return [Float]
89163
89636
  attr_accessor :spambrain_lavc_score
89164
89637
 
89638
+ #
89639
+ # Corresponds to the JSON property `spambrainLavcScores`
89640
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
89641
+ attr_accessor :spambrain_lavc_scores
89642
+
89643
+ # Site-level tofu score: site quality predictor based on content.
89644
+ # Corresponds to the JSON property `tofu`
89645
+ # @return [Float]
89646
+ attr_accessor :tofu
89647
+
89648
+ #
89649
+ # Corresponds to the JSON property `ugcScore`
89650
+ # @return [Float]
89651
+ attr_accessor :ugc_score
89652
+
89165
89653
  #
89166
89654
  # Corresponds to the JSON property `url`
89167
89655
  # @return [String]
@@ -89172,11 +89660,26 @@ module Google
89172
89660
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrNsrVersionedData>]
89173
89661
  attr_accessor :versioned_data
89174
89662
 
89663
+ #
89664
+ # Corresponds to the JSON property `videoScore`
89665
+ # @return [Float]
89666
+ attr_accessor :video_score
89667
+
89668
+ # Score of the Video LQ model.
89669
+ # Corresponds to the JSON property `vlq`
89670
+ # @return [Float]
89671
+ attr_accessor :vlq
89672
+
89175
89673
  # NSR from a headroom model targeting low-quality video sites.
89176
89674
  # Corresponds to the JSON property `vlqNsr`
89177
89675
  # @return [Float]
89178
89676
  attr_accessor :vlq_nsr
89179
89677
 
89678
+ #
89679
+ # Corresponds to the JSON property `ymylNewsV2Score`
89680
+ # @return [Float]
89681
+ attr_accessor :ymyl_news_v2_score
89682
+
89180
89683
  def initialize(**args)
89181
89684
  update!(**args)
89182
89685
  end
@@ -89185,13 +89688,22 @@ module Google
89185
89688
  def update!(**args)
89186
89689
  @article_score = args[:article_score] if args.key?(:article_score)
89187
89690
  @article_score_v2 = args[:article_score_v2] if args.key?(:article_score_v2)
89691
+ @chard = args[:chard] if args.key?(:chard)
89692
+ @chard_variance = args[:chard_variance] if args.key?(:chard_variance)
89188
89693
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
89189
89694
  @cluster_uplift = args[:cluster_uplift] if args.key?(:cluster_uplift)
89190
89695
  @clutter_score = args[:clutter_score] if args.key?(:clutter_score)
89696
+ @clutter_scores = args[:clutter_scores] if args.key?(:clutter_scores)
89697
+ @direct_frac = args[:direct_frac] if args.key?(:direct_frac)
89698
+ @health_score = args[:health_score] if args.key?(:health_score)
89191
89699
  @host = args[:host] if args.key?(:host)
89700
+ @i18n_bucket = args[:i18n_bucket] if args.key?(:i18n_bucket)
89701
+ @impressions = args[:impressions] if args.key?(:impressions)
89192
89702
  @is_covid_local_authority = args[:is_covid_local_authority] if args.key?(:is_covid_local_authority)
89193
89703
  @is_election_authority = args[:is_election_authority] if args.key?(:is_election_authority)
89194
89704
  @is_video_focused_site = args[:is_video_focused_site] if args.key?(:is_video_focused_site)
89705
+ @language = args[:language] if args.key?(:language)
89706
+ @large_org_id = args[:large_org_id] if args.key?(:large_org_id)
89195
89707
  @locality_score = args[:locality_score] if args.key?(:locality_score)
89196
89708
  @metadata = args[:metadata] if args.key?(:metadata)
89197
89709
  @new_nsr = args[:new_nsr] if args.key?(:new_nsr)
@@ -89199,7 +89711,9 @@ module Google
89199
89711
  @nsr_override_bid = args[:nsr_override_bid] if args.key?(:nsr_override_bid)
89200
89712
  @nsr_variance = args[:nsr_variance] if args.key?(:nsr_variance)
89201
89713
  @nsrdata_from_fallback_pattern_key = args[:nsrdata_from_fallback_pattern_key] if args.key?(:nsrdata_from_fallback_pattern_key)
89714
+ @pnav = args[:pnav] if args.key?(:pnav)
89202
89715
  @secondary_site_chunk = args[:secondary_site_chunk] if args.key?(:secondary_site_chunk)
89716
+ @shopping_score = args[:shopping_score] if args.key?(:shopping_score)
89203
89717
  @site_autopilot_score = args[:site_autopilot_score] if args.key?(:site_autopilot_score)
89204
89718
  @site_chunk = args[:site_chunk] if args.key?(:site_chunk)
89205
89719
  @site_chunk_source = args[:site_chunk_source] if args.key?(:site_chunk_source)
@@ -89208,9 +89722,15 @@ module Google
89208
89722
  @site_pr = args[:site_pr] if args.key?(:site_pr)
89209
89723
  @site_quality_stddev = args[:site_quality_stddev] if args.key?(:site_quality_stddev)
89210
89724
  @spambrain_lavc_score = args[:spambrain_lavc_score] if args.key?(:spambrain_lavc_score)
89725
+ @spambrain_lavc_scores = args[:spambrain_lavc_scores] if args.key?(:spambrain_lavc_scores)
89726
+ @tofu = args[:tofu] if args.key?(:tofu)
89727
+ @ugc_score = args[:ugc_score] if args.key?(:ugc_score)
89211
89728
  @url = args[:url] if args.key?(:url)
89212
89729
  @versioned_data = args[:versioned_data] if args.key?(:versioned_data)
89730
+ @video_score = args[:video_score] if args.key?(:video_score)
89731
+ @vlq = args[:vlq] if args.key?(:vlq)
89213
89732
  @vlq_nsr = args[:vlq_nsr] if args.key?(:vlq_nsr)
89733
+ @ymyl_news_v2_score = args[:ymyl_news_v2_score] if args.key?(:ymyl_news_v2_score)
89214
89734
  end
89215
89735
  end
89216
89736
 
@@ -89262,10 +89782,15 @@ module Google
89262
89782
  end
89263
89783
  end
89264
89784
 
89265
- #
89785
+ # Next id: 17
89266
89786
  class QualityNsrPqData
89267
89787
  include Google::Apis::Core::Hashable
89268
89788
 
89789
+ # URL-level chard prediction (encoded as an int).
89790
+ # Corresponds to the JSON property `chard`
89791
+ # @return [Fixnum]
89792
+ attr_accessor :chard
89793
+
89269
89794
  #
89270
89795
  # Corresponds to the JSON property `deltaAutopilotScore`
89271
89796
  # @return [Float]
@@ -89281,6 +89806,11 @@ module Google
89281
89806
  # @return [Float]
89282
89807
  attr_accessor :delta_link_outgoing
89283
89808
 
89809
+ # The delta score of the URL-level quality predictor.
89810
+ # Corresponds to the JSON property `deltaPageQuality`
89811
+ # @return [Float]
89812
+ attr_accessor :delta_page_quality
89813
+
89284
89814
  # Total deltaNSR adjustment based on subchunks. This is a page-level adjustment (
89285
89815
  # subchunks are retrieved based on the page classification).
89286
89816
  # Corresponds to the JSON property `deltaSubchunkAdjustment`
@@ -89297,6 +89827,11 @@ module Google
89297
89827
  # @return [Float]
89298
89828
  attr_accessor :link_outgoing
89299
89829
 
89830
+ # The total number of offdomain anchors seen by the NSR pipeline for this page.
89831
+ # Corresponds to the JSON property `numOffdomainAnchors`
89832
+ # @return [Float]
89833
+ attr_accessor :num_offdomain_anchors
89834
+
89300
89835
  #
89301
89836
  # Corresponds to the JSON property `page2vecLq`
89302
89837
  # @return [Float]
@@ -89307,26 +89842,41 @@ module Google
89307
89842
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrPqDataSubchunkData>]
89308
89843
  attr_accessor :subchunk_data
89309
89844
 
89845
+ # URL-level tofu prediction.
89846
+ # Corresponds to the JSON property `tofu`
89847
+ # @return [Float]
89848
+ attr_accessor :tofu
89849
+
89310
89850
  #
89311
89851
  # Corresponds to the JSON property `urlAutopilotScore`
89312
89852
  # @return [Float]
89313
89853
  attr_accessor :url_autopilot_score
89314
89854
 
89855
+ # URL-level score of the VLQ model.
89856
+ # Corresponds to the JSON property `vlq`
89857
+ # @return [Float]
89858
+ attr_accessor :vlq
89859
+
89315
89860
  def initialize(**args)
89316
89861
  update!(**args)
89317
89862
  end
89318
89863
 
89319
89864
  # Update properties of this object
89320
89865
  def update!(**args)
89866
+ @chard = args[:chard] if args.key?(:chard)
89321
89867
  @delta_autopilot_score = args[:delta_autopilot_score] if args.key?(:delta_autopilot_score)
89322
89868
  @delta_link_incoming = args[:delta_link_incoming] if args.key?(:delta_link_incoming)
89323
89869
  @delta_link_outgoing = args[:delta_link_outgoing] if args.key?(:delta_link_outgoing)
89870
+ @delta_page_quality = args[:delta_page_quality] if args.key?(:delta_page_quality)
89324
89871
  @delta_subchunk_adjustment = args[:delta_subchunk_adjustment] if args.key?(:delta_subchunk_adjustment)
89325
89872
  @link_incoming = args[:link_incoming] if args.key?(:link_incoming)
89326
89873
  @link_outgoing = args[:link_outgoing] if args.key?(:link_outgoing)
89874
+ @num_offdomain_anchors = args[:num_offdomain_anchors] if args.key?(:num_offdomain_anchors)
89327
89875
  @page2vec_lq = args[:page2vec_lq] if args.key?(:page2vec_lq)
89328
89876
  @subchunk_data = args[:subchunk_data] if args.key?(:subchunk_data)
89877
+ @tofu = args[:tofu] if args.key?(:tofu)
89329
89878
  @url_autopilot_score = args[:url_autopilot_score] if args.key?(:url_autopilot_score)
89879
+ @vlq = args[:vlq] if args.key?(:vlq)
89330
89880
  end
89331
89881
  end
89332
89882
 
@@ -89368,6 +89918,31 @@ module Google
89368
89918
  end
89369
89919
  end
89370
89920
 
89921
+ #
89922
+ class QualityNsrVersionedFloatSignal
89923
+ include Google::Apis::Core::Hashable
89924
+
89925
+ # The corresponding float value.
89926
+ # Corresponds to the JSON property `value`
89927
+ # @return [Float]
89928
+ attr_accessor :value
89929
+
89930
+ # Unique version id.
89931
+ # Corresponds to the JSON property `versionId`
89932
+ # @return [Fixnum]
89933
+ attr_accessor :version_id
89934
+
89935
+ def initialize(**args)
89936
+ update!(**args)
89937
+ end
89938
+
89939
+ # Update properties of this object
89940
+ def update!(**args)
89941
+ @value = args[:value] if args.key?(:value)
89942
+ @version_id = args[:version_id] if args.key?(:version_id)
89943
+ end
89944
+ end
89945
+
89371
89946
  #
89372
89947
  class QualityOrbitAsteroidBeltDocumentIntentScores
89373
89948
  include Google::Apis::Core::Hashable
@@ -91797,12 +92372,11 @@ module Google
91797
92372
  # @return [String]
91798
92373
  attr_accessor :non_displayable_currency
91799
92374
 
91800
- # non_displayable_organic_mscore is a organic confidence score that a merchant
91801
- # will not cause financial or consumer trust damage. In range [0, 1]. See go/
91802
- # merchant-quality-score .
91803
- # Corresponds to the JSON property `nonDisplayableOrganicMscore`
91804
- # @return [Float]
91805
- attr_accessor :non_displayable_organic_mscore
92375
+ # Normalized riskiness score for Organic destinations. It's in range [0,1000]
92376
+ # with 0 being the worst score and 1000 being the best.
92377
+ # Corresponds to the JSON property `nonDisplayableOrganicScoreMillis`
92378
+ # @return [Fixnum]
92379
+ attr_accessor :non_displayable_organic_score_millis
91806
92380
 
91807
92381
  #
91808
92382
  # Corresponds to the JSON property `offerDocid`
@@ -91835,7 +92409,7 @@ module Google
91835
92409
  @merchant_item_id = args[:merchant_item_id] if args.key?(:merchant_item_id)
91836
92410
  @non_displayable_brand_merchant_relationship = args[:non_displayable_brand_merchant_relationship] if args.key?(:non_displayable_brand_merchant_relationship)
91837
92411
  @non_displayable_currency = args[:non_displayable_currency] if args.key?(:non_displayable_currency)
91838
- @non_displayable_organic_mscore = args[:non_displayable_organic_mscore] if args.key?(:non_displayable_organic_mscore)
92412
+ @non_displayable_organic_score_millis = args[:non_displayable_organic_score_millis] if args.key?(:non_displayable_organic_score_millis)
91839
92413
  @offer_docid = args[:offer_docid] if args.key?(:offer_docid)
91840
92414
  @ref_type = args[:ref_type] if args.key?(:ref_type)
91841
92415
  @sori_version_id = args[:sori_version_id] if args.key?(:sori_version_id)
@@ -91983,12 +92557,6 @@ module Google
91983
92557
  # @return [Fixnum]
91984
92558
  attr_accessor :catalog_id
91985
92559
 
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
92560
  #
91993
92561
  # Corresponds to the JSON property `globalProductClusterId`
91994
92562
  # @return [Fixnum]
@@ -92054,7 +92622,6 @@ module Google
92054
92622
  @aggregate_rating = args[:aggregate_rating] if args.key?(:aggregate_rating)
92055
92623
  @brand_entity_id = args[:brand_entity_id] if args.key?(:brand_entity_id)
92056
92624
  @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
92625
  @global_product_cluster_id = args[:global_product_cluster_id] if args.key?(:global_product_cluster_id)
92059
92626
  @locale = args[:locale] if args.key?(:locale)
92060
92627
  @moka_facet = args[:moka_facet] if args.key?(:moka_facet)
@@ -93937,47 +94504,6 @@ module Google
93937
94504
  end
93938
94505
  end
93939
94506
 
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
94507
  # Represents the aggregated score of the entities for a given name, aggregated
93982
94508
  # over all sources. Next available tag: 3.
93983
94509
  class RepositoryWebrefAggregatedEntityNameScores
@@ -94433,16 +94959,6 @@ module Google
94433
94959
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefFreebaseType>]
94434
94960
  attr_accessor :all_types
94435
94961
 
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
94962
  #
94447
94963
  # Corresponds to the JSON property `freebaseType`
94448
94964
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefFreebaseType>]
@@ -94482,8 +94998,6 @@ module Google
94482
94998
  # Update properties of this object
94483
94999
  def update!(**args)
94484
95000
  @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
95001
  @freebase_type = args[:freebase_type] if args.key?(:freebase_type)
94488
95002
  @kg_collection = args[:kg_collection] if args.key?(:kg_collection)
94489
95003
  @oyster_type = args[:oyster_type] if args.key?(:oyster_type)
@@ -94615,8 +95129,7 @@ module Google
94615
95129
  # @return [String]
94616
95130
  attr_accessor :relation
94617
95131
 
94618
- # Rule sequence id. The rule with the lowest sequence id in a cluster will
94619
- # contribute its id to the id of the cluster.
95132
+ # No longer set.
94620
95133
  # Corresponds to the JSON property `sequenceId`
94621
95134
  # @return [Fixnum]
94622
95135
  attr_accessor :sequence_id
@@ -95490,14 +96003,6 @@ module Google
95490
96003
  class RepositoryWebrefEntityDebugInfo
95491
96004
  include Google::Apis::Core::Hashable
95492
96005
 
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
96006
  # A human-readable description of the entity. This can range from brief, machine-
95502
96007
  # generated notes to lengthy human-written paragraphs from Wikipedia.
95503
96008
  # Corresponds to the JSON property `description`
@@ -95532,7 +96037,6 @@ module Google
95532
96037
 
95533
96038
  # Update properties of this object
95534
96039
  def update!(**args)
95535
- @contains_restricted_data = args[:contains_restricted_data] if args.key?(:contains_restricted_data)
95536
96040
  @description = args[:description] if args.key?(:description)
95537
96041
  @language = args[:language] if args.key?(:language)
95538
96042
  @score = args[:score] if args.key?(:score)
@@ -95624,21 +96128,6 @@ module Google
95624
96128
  # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameSignals]
95625
96129
  attr_accessor :name_signals
95626
96130
 
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
96131
  # Contains names and names metadata used by Refcon.
95643
96132
  # Corresponds to the JSON property `refconNameInfo`
95644
96133
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefRefconRefconNameInfo>]
@@ -95671,7 +96160,6 @@ module Google
95671
96160
  @link_info = args[:link_info] if args.key?(:link_info)
95672
96161
  @name_info = args[:name_info] if args.key?(:name_info)
95673
96162
  @name_signals = args[:name_signals] if args.key?(:name_signals)
95674
- @preprocessing_id = args[:preprocessing_id] if args.key?(:preprocessing_id)
95675
96163
  @refcon_name_info = args[:refcon_name_info] if args.key?(:refcon_name_info)
95676
96164
  @representation = args[:representation] if args.key?(:representation)
95677
96165
  end
@@ -96264,12 +96752,6 @@ module Google
96264
96752
  class RepositoryWebrefFatcatCategory
96265
96753
  include Google::Apis::Core::Hashable
96266
96754
 
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
96755
  # The category ID from verticals4. See go/verticals4 and where we read them in
96274
96756
  # http://google3/repository/webref/preprocessing/fatcat-categories.cc
96275
96757
  # Corresponds to the JSON property `id`
@@ -96287,7 +96769,6 @@ module Google
96287
96769
 
96288
96770
  # Update properties of this object
96289
96771
  def update!(**args)
96290
- @debug_id = args[:debug_id] if args.key?(:debug_id)
96291
96772
  @id = args[:id] if args.key?(:id)
96292
96773
  @score = args[:score] if args.key?(:score)
96293
96774
  end
@@ -103401,6 +103882,38 @@ module Google
103401
103882
  end
103402
103883
  end
103403
103884
 
103885
+ # A proto that stores SafeSearch internal signals that are not exported to
103886
+ # clients.
103887
+ class SafesearchInternalImageSignals
103888
+ include Google::Apis::Core::Hashable
103889
+
103890
+ #
103891
+ # Corresponds to the JSON property `imageEntitiesViolenceScore`
103892
+ # @return [Float]
103893
+ attr_accessor :image_entities_violence_score
103894
+
103895
+ # Additional SafeSearch signals that are used to compute final scores.
103896
+ # Corresponds to the JSON property `starburstPornScore`
103897
+ # @return [Float]
103898
+ attr_accessor :starburst_porn_score
103899
+
103900
+ #
103901
+ # Corresponds to the JSON property `starburstViolenceScore`
103902
+ # @return [Float]
103903
+ attr_accessor :starburst_violence_score
103904
+
103905
+ def initialize(**args)
103906
+ update!(**args)
103907
+ end
103908
+
103909
+ # Update properties of this object
103910
+ def update!(**args)
103911
+ @image_entities_violence_score = args[:image_entities_violence_score] if args.key?(:image_entities_violence_score)
103912
+ @starburst_porn_score = args[:starburst_porn_score] if args.key?(:starburst_porn_score)
103913
+ @starburst_violence_score = args[:starburst_violence_score] if args.key?(:starburst_violence_score)
103914
+ end
103915
+ end
103916
+
103404
103917
  # Flexible multi-vertical classification output. The output for each vertical
103405
103918
  # should be defined as a proto extension to this proto. When defining an
103406
103919
  # extension for a new vertical please follow the format: message NewVertical `
@@ -104776,8 +105289,15 @@ module Google
104776
105289
  # @return [String]
104777
105290
  attr_accessor :agency_name
104778
105291
 
105292
+ # Funding entries for the same agency and grant number can be merged during our
105293
+ # extraction process so we maintain a record of all the deduped ExtractionInfo
105294
+ # messages within the remaining entry.
105295
+ # Corresponds to the JSON property `DebugExtractionInfo`
105296
+ # @return [Array<Google::Apis::ContentwarehouseV1::ScienceCitationFundingExtractionInfo>]
105297
+ attr_accessor :debug_extraction_info
105298
+
104779
105299
  # Text block from which the funding entry was extracted. Intended to be used for
104780
- # offline analysis.
105300
+ # offline analysis. DEPRECATED
104781
105301
  # Corresponds to the JSON property `DebugFundingTextBlock`
104782
105302
  # @return [String]
104783
105303
  attr_accessor :debug_funding_text_block
@@ -104812,6 +105332,7 @@ module Google
104812
105332
  def update!(**args)
104813
105333
  @agency = args[:agency] if args.key?(:agency)
104814
105334
  @agency_name = args[:agency_name] if args.key?(:agency_name)
105335
+ @debug_extraction_info = args[:debug_extraction_info] if args.key?(:debug_extraction_info)
104815
105336
  @debug_funding_text_block = args[:debug_funding_text_block] if args.key?(:debug_funding_text_block)
104816
105337
  @grant_number = args[:grant_number] if args.key?(:grant_number)
104817
105338
  @recipient = args[:recipient] if args.key?(:recipient)
@@ -104820,6 +105341,44 @@ module Google
104820
105341
  end
104821
105342
  end
104822
105343
 
105344
+ # Holds information about the source of the funding entry.
105345
+ class ScienceCitationFundingExtractionInfo
105346
+ include Google::Apis::Core::Hashable
105347
+
105348
+ # Text block context from which the funding entry was extracted. Optionally
105349
+ # filled and intended to be used for offline analysis.
105350
+ # Corresponds to the JSON property `DebugFundingTextBlock`
105351
+ # @return [String]
105352
+ attr_accessor :debug_funding_text_block
105353
+
105354
+ #
105355
+ # Corresponds to the JSON property `DocPart`
105356
+ # @return [String]
105357
+ attr_accessor :doc_part
105358
+
105359
+ #
105360
+ # Corresponds to the JSON property `ParseSection`
105361
+ # @return [String]
105362
+ attr_accessor :parse_section
105363
+
105364
+ #
105365
+ # Corresponds to the JSON property `Source`
105366
+ # @return [String]
105367
+ attr_accessor :source
105368
+
105369
+ def initialize(**args)
105370
+ update!(**args)
105371
+ end
105372
+
105373
+ # Update properties of this object
105374
+ def update!(**args)
105375
+ @debug_funding_text_block = args[:debug_funding_text_block] if args.key?(:debug_funding_text_block)
105376
+ @doc_part = args[:doc_part] if args.key?(:doc_part)
105377
+ @parse_section = args[:parse_section] if args.key?(:parse_section)
105378
+ @source = args[:source] if args.key?(:source)
105379
+ end
105380
+ end
105381
+
104823
105382
  # If this is a source document, the levels of discussion of the references this
104824
105383
  # document cites.
104825
105384
  class ScienceCitationReferenceDiscussion
@@ -107554,8 +108113,7 @@ module Google
107554
108113
  end
107555
108114
  end
107556
108115
 
107557
- # Extra snippet info used for snippet scoring / modification in superroot. Next
107558
- # ID: 11
108116
+ #
107559
108117
  class SnippetExtraInfo
107560
108118
  include Google::Apis::Core::Hashable
107561
108119
 
@@ -107589,6 +108147,12 @@ module Google
107589
108147
  # @return [Fixnum]
107590
108148
  attr_accessor :snippet_brain_selected_candidate_index
107591
108149
 
108150
+ # Log model name, partition and input processor used to generate SnippetsBrain
108151
+ # scores, if SnippetsBrain debugging is enabled.
108152
+ # Corresponds to the JSON property `snippetsbrainModelInfo`
108153
+ # @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetsBrainModelInfo]
108154
+ attr_accessor :snippetsbrain_model_info
108155
+
107592
108156
  def initialize(**args)
107593
108157
  update!(**args)
107594
108158
  end
@@ -107600,6 +108164,7 @@ module Google
107600
108164
  @contain_vulgar_candidates = args[:contain_vulgar_candidates] if args.key?(:contain_vulgar_candidates)
107601
108165
  @disable_query_features = args[:disable_query_features] if args.key?(:disable_query_features)
107602
108166
  @snippet_brain_selected_candidate_index = args[:snippet_brain_selected_candidate_index] if args.key?(:snippet_brain_selected_candidate_index)
108167
+ @snippetsbrain_model_info = args[:snippetsbrain_model_info] if args.key?(:snippetsbrain_model_info)
107603
108168
  end
107604
108169
  end
107605
108170
 
@@ -107645,11 +108210,6 @@ module Google
107645
108210
  # @return [Array<String>]
107646
108211
  attr_accessor :snippet
107647
108212
 
107648
- #
107649
- # Corresponds to the JSON property `snippetSource`
107650
- # @return [String]
107651
- attr_accessor :snippet_source
107652
-
107653
108213
  # `snippet_text` will be filled by snippet brain flow in SR for model scoring
107654
108214
  # and debugging purpose.
107655
108215
  # Corresponds to the JSON property `snippetText`
@@ -107673,7 +108233,6 @@ module Google
107673
108233
  @list_info = args[:list_info] if args.key?(:list_info)
107674
108234
  @scoring_info = args[:scoring_info] if args.key?(:scoring_info)
107675
108235
  @snippet = args[:snippet] if args.key?(:snippet)
107676
- @snippet_source = args[:snippet_source] if args.key?(:snippet_source)
107677
108236
  @snippet_text = args[:snippet_text] if args.key?(:snippet_text)
107678
108237
  @snippet_type = args[:snippet_type] if args.key?(:snippet_type)
107679
108238
  end
@@ -107723,6 +108282,38 @@ module Google
107723
108282
  end
107724
108283
  end
107725
108284
 
108285
+ # Log model name, partition and input processor used to generate SnippetsBrain
108286
+ # scores, if SnippetsBrain debugging is enabled.
108287
+ class SnippetExtraInfoSnippetsBrainModelInfo
108288
+ include Google::Apis::Core::Hashable
108289
+
108290
+ # The below fields are populated by SnippetFlow in superroot.
108291
+ # Corresponds to the JSON property `snippetsbrainModelName`
108292
+ # @return [String]
108293
+ attr_accessor :snippetsbrain_model_name
108294
+
108295
+ #
108296
+ # Corresponds to the JSON property `snippetsbrainModelPartition`
108297
+ # @return [String]
108298
+ attr_accessor :snippetsbrain_model_partition
108299
+
108300
+ #
108301
+ # Corresponds to the JSON property `snippetsbrainTokenizerType`
108302
+ # @return [String]
108303
+ attr_accessor :snippetsbrain_tokenizer_type
108304
+
108305
+ def initialize(**args)
108306
+ update!(**args)
108307
+ end
108308
+
108309
+ # Update properties of this object
108310
+ def update!(**args)
108311
+ @snippetsbrain_model_name = args[:snippetsbrain_model_name] if args.key?(:snippetsbrain_model_name)
108312
+ @snippetsbrain_model_partition = args[:snippetsbrain_model_partition] if args.key?(:snippetsbrain_model_partition)
108313
+ @snippetsbrain_tokenizer_type = args[:snippetsbrain_tokenizer_type] if args.key?(:snippetsbrain_tokenizer_type)
108314
+ end
108315
+ end
108316
+
107726
108317
  # Leading text which may consist of multiple pieces.
107727
108318
  class SnippetsLeadingtextLeadingTextAnnotation
107728
108319
  include Google::Apis::Core::Hashable
@@ -108412,6 +109003,21 @@ module Google
108412
109003
  end
108413
109004
  end
108414
109005
 
109006
+ # Pattern for a DAILY (or every N day) recurrence. Time of the day that the
109007
+ # notification will occur is taken from the Prompt that owns this recurrence.
109008
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109009
+ class SocialGraphApiProtoDailyRecurrence
109010
+ include Google::Apis::Core::Hashable
109011
+
109012
+ def initialize(**args)
109013
+ update!(**args)
109014
+ end
109015
+
109016
+ # Update properties of this object
109017
+ def update!(**args)
109018
+ end
109019
+ end
109020
+
108415
109021
  # Represents a delegated group id, delegated groups refer to groups that are
108416
109022
  # owned by another gaiaId, but this user has access to.
108417
109023
  class SocialGraphApiProtoDelegatedGroupId
@@ -108596,6 +109202,135 @@ module Google
108596
109202
  end
108597
109203
  end
108598
109204
 
109205
+ # Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1.
109206
+ # Absolute days of the month (i.e. the 1st and 15th) 2. Relative day from the
109207
+ # end of the month (i.e. -1 for last day, -2 for second-to-last day). Used in
109208
+ # PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109209
+ class SocialGraphApiProtoMonthlyDayRecurrence
109210
+ include Google::Apis::Core::Hashable
109211
+
109212
+ # Absolute day of the month (if positive) or relative day from the end of the
109213
+ # month (if negative). Example: 2nd and 20th of the month [2, 20]. Example: Last
109214
+ # day of the month [-1]. Positive values should correspond to actual calendar
109215
+ # day number (indexing starts at 1).
109216
+ # Corresponds to the JSON property `monthDay`
109217
+ # @return [Array<Fixnum>]
109218
+ attr_accessor :month_day
109219
+
109220
+ # If true, month_day beyond the end of month (i.e. month_day=31 in February)
109221
+ # will default to the last day of the month.
109222
+ # Corresponds to the JSON property `useLastDayIfMonthDayPastEnd`
109223
+ # @return [Boolean]
109224
+ attr_accessor :use_last_day_if_month_day_past_end
109225
+ alias_method :use_last_day_if_month_day_past_end?, :use_last_day_if_month_day_past_end
109226
+
109227
+ def initialize(**args)
109228
+ update!(**args)
109229
+ end
109230
+
109231
+ # Update properties of this object
109232
+ def update!(**args)
109233
+ @month_day = args[:month_day] if args.key?(:month_day)
109234
+ @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)
109235
+ end
109236
+ end
109237
+
109238
+ # A MONTHLY recurrence can be one of a MonthlyDayRecurrence or
109239
+ # MonthlyWeekdayRecurrence but not both. Used in PeopleAPI layers + FBS/
109240
+ # ContactsService (not in ProfileService)
109241
+ class SocialGraphApiProtoMonthlyRecurrence
109242
+ include Google::Apis::Core::Hashable
109243
+
109244
+ # Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1.
109245
+ # Absolute days of the month (i.e. the 1st and 15th) 2. Relative day from the
109246
+ # end of the month (i.e. -1 for last day, -2 for second-to-last day). Used in
109247
+ # PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109248
+ # Corresponds to the JSON property `monthlyDayRecurrence`
109249
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyDayRecurrence]
109250
+ attr_accessor :monthly_day_recurrence
109251
+
109252
+ # Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1. The nth
109253
+ # specific weekday of the month. For example, the 3rd Wednesday of the month.
109254
+ # This represents the 3rd instance of a Wednesday of the month, regardless of
109255
+ # what weekday the month started on. It does not necessarily mean the Wednesday
109256
+ # on the 3rd week of the month. Used in PeopleAPI layers + FBS/ContactsService (
109257
+ # not in ProfileService)
109258
+ # Corresponds to the JSON property `monthlyWeekdayRecurrence`
109259
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyWeekdayRecurrence]
109260
+ attr_accessor :monthly_weekday_recurrence
109261
+
109262
+ def initialize(**args)
109263
+ update!(**args)
109264
+ end
109265
+
109266
+ # Update properties of this object
109267
+ def update!(**args)
109268
+ @monthly_day_recurrence = args[:monthly_day_recurrence] if args.key?(:monthly_day_recurrence)
109269
+ @monthly_weekday_recurrence = args[:monthly_weekday_recurrence] if args.key?(:monthly_weekday_recurrence)
109270
+ end
109271
+ end
109272
+
109273
+ # Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1. The nth
109274
+ # specific weekday of the month. For example, the 3rd Wednesday of the month.
109275
+ # This represents the 3rd instance of a Wednesday of the month, regardless of
109276
+ # what weekday the month started on. It does not necessarily mean the Wednesday
109277
+ # on the 3rd week of the month. Used in PeopleAPI layers + FBS/ContactsService (
109278
+ # not in ProfileService)
109279
+ class SocialGraphApiProtoMonthlyWeekdayRecurrence
109280
+ include Google::Apis::Core::Hashable
109281
+
109282
+ # The nth occurrence of week_day to match. I.e. For 3rd Wednesday of the month,
109283
+ # week_day = WEDNESDAY and week_day_number = 3. Values beyond the end of the
109284
+ # month are skipped. Negative values are relative from end of month (e.g. Last
109285
+ # Friday of every month).
109286
+ # Corresponds to the JSON property `weekDay`
109287
+ # @return [String]
109288
+ attr_accessor :week_day
109289
+
109290
+ #
109291
+ # Corresponds to the JSON property `weekDayNumber`
109292
+ # @return [Fixnum]
109293
+ attr_accessor :week_day_number
109294
+
109295
+ def initialize(**args)
109296
+ update!(**args)
109297
+ end
109298
+
109299
+ # Update properties of this object
109300
+ def update!(**args)
109301
+ @week_day = args[:week_day] if args.key?(:week_day)
109302
+ @week_day_number = args[:week_day_number] if args.key?(:week_day_number)
109303
+ end
109304
+ end
109305
+
109306
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109307
+ class SocialGraphApiProtoNotificationTrigger
109308
+ include Google::Apis::Core::Hashable
109309
+
109310
+ # Positive number of days before active date. The value 0 will denote a
109311
+ # notification on the same day.
109312
+ # Corresponds to the JSON property `daysBeforeActiveDate`
109313
+ # @return [Fixnum]
109314
+ attr_accessor :days_before_active_date
109315
+
109316
+ # Represents a time of day. The date and time zone are either not significant or
109317
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
109318
+ # types are google.type.Date and `google.protobuf.Timestamp`.
109319
+ # Corresponds to the JSON property `notificationTimeOfDay`
109320
+ # @return [Google::Apis::ContentwarehouseV1::GoogleTypeTimeOfDay]
109321
+ attr_accessor :notification_time_of_day
109322
+
109323
+ def initialize(**args)
109324
+ update!(**args)
109325
+ end
109326
+
109327
+ # Update properties of this object
109328
+ def update!(**args)
109329
+ @days_before_active_date = args[:days_before_active_date] if args.key?(:days_before_active_date)
109330
+ @notification_time_of_day = args[:notification_time_of_day] if args.key?(:notification_time_of_day)
109331
+ end
109332
+ end
109333
+
108599
109334
  #
108600
109335
  class SocialGraphApiProtoPartialNameOptions
108601
109336
  include Google::Apis::Core::Hashable
@@ -108798,6 +109533,93 @@ module Google
108798
109533
  end
108799
109534
  end
108800
109535
 
109536
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109537
+ class SocialGraphApiProtoPrompt
109538
+ include Google::Apis::Core::Hashable
109539
+
109540
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109541
+ # Corresponds to the JSON property `content`
109542
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPromptContent]
109543
+ attr_accessor :content
109544
+
109545
+ # Represents a whole or partial calendar date, such as a birthday. The time of
109546
+ # day and time zone are either specified elsewhere or are insignificant. The
109547
+ # date is relative to the Gregorian Calendar. This can represent one of the
109548
+ # following: * A full date, with non-zero year, month, and day values. * A month
109549
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
109550
+ # with a zero month and a zero day. * A year and month, with a zero day (for
109551
+ # example, a credit card expiration date). Related types: * google.type.
109552
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
109553
+ # Corresponds to the JSON property `lastDismissDate`
109554
+ # @return [Google::Apis::ContentwarehouseV1::GoogleTypeDate]
109555
+ attr_accessor :last_dismiss_date
109556
+
109557
+ # If this is empty, only the "Prompt Spark" will be displayed (in the time-range
109558
+ # read from per type config), no push notifications will be shown. If push
109559
+ # notification are configured with this field, the "Prompt Spark" time-range
109560
+ # will be determined by earliest notification value here.
109561
+ # Corresponds to the JSON property `notificationTriggers`
109562
+ # @return [Array<Google::Apis::ContentwarehouseV1::SocialGraphApiProtoNotificationTrigger>]
109563
+ attr_accessor :notification_triggers
109564
+
109565
+ # Read-only. This is derived from the containing field value.
109566
+ # Corresponds to the JSON property `purpose`
109567
+ # @return [String]
109568
+ attr_accessor :purpose
109569
+
109570
+ # Flexible Recurrence proto to be used with People Prompts. Examples: Single
109571
+ # recurrence that occurs on a specific date: single_recurrence ` date ` year:
109572
+ # 2022 month: 11 day: 17 ` ` Yearly recurrence such as a birthday or anniversary:
109573
+ # yearly_recurrence ` monthly_pattern ` monthly_day_recurrence ` month_day: 17 `
109574
+ # ` months: JULY ` Weekly reccurrence such as: every two weeks on Monday: every:
109575
+ # 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
109576
+ # Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
109577
+ # week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
109578
+ # ContactsService (not in ProfileService) TODO(b/240850530) add link to
109579
+ # validators when created.
109580
+ # Corresponds to the JSON property `recurrence`
109581
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRecurrence]
109582
+ attr_accessor :recurrence
109583
+
109584
+ # Prompt ID is generated by server on initial mutate.
109585
+ # Corresponds to the JSON property `uniquePromptId`
109586
+ # @return [String]
109587
+ attr_accessor :unique_prompt_id
109588
+
109589
+ def initialize(**args)
109590
+ update!(**args)
109591
+ end
109592
+
109593
+ # Update properties of this object
109594
+ def update!(**args)
109595
+ @content = args[:content] if args.key?(:content)
109596
+ @last_dismiss_date = args[:last_dismiss_date] if args.key?(:last_dismiss_date)
109597
+ @notification_triggers = args[:notification_triggers] if args.key?(:notification_triggers)
109598
+ @purpose = args[:purpose] if args.key?(:purpose)
109599
+ @recurrence = args[:recurrence] if args.key?(:recurrence)
109600
+ @unique_prompt_id = args[:unique_prompt_id] if args.key?(:unique_prompt_id)
109601
+ end
109602
+ end
109603
+
109604
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109605
+ class SocialGraphApiProtoPromptContent
109606
+ include Google::Apis::Core::Hashable
109607
+
109608
+ # Title of prompt/spark being sent.
109609
+ # Corresponds to the JSON property `title`
109610
+ # @return [String]
109611
+ attr_accessor :title
109612
+
109613
+ def initialize(**args)
109614
+ update!(**args)
109615
+ end
109616
+
109617
+ # Update properties of this object
109618
+ def update!(**args)
109619
+ @title = args[:title] if args.key?(:title)
109620
+ end
109621
+ end
109622
+
108801
109623
  # Design doc: go/pronouns-backend Represents a user's preferred pronouns.
108802
109624
  class SocialGraphApiProtoPronounData
108803
109625
  include Google::Apis::Core::Hashable
@@ -108937,6 +109759,144 @@ module Google
108937
109759
  end
108938
109760
  end
108939
109761
 
109762
+ # Flexible Recurrence proto to be used with People Prompts. Examples: Single
109763
+ # recurrence that occurs on a specific date: single_recurrence ` date ` year:
109764
+ # 2022 month: 11 day: 17 ` ` Yearly recurrence such as a birthday or anniversary:
109765
+ # yearly_recurrence ` monthly_pattern ` monthly_day_recurrence ` month_day: 17 `
109766
+ # ` months: JULY ` Weekly reccurrence such as: every two weeks on Monday: every:
109767
+ # 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
109768
+ # Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
109769
+ # week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
109770
+ # ContactsService (not in ProfileService) TODO(b/240850530) add link to
109771
+ # validators when created.
109772
+ class SocialGraphApiProtoRecurrence
109773
+ include Google::Apis::Core::Hashable
109774
+
109775
+ # Pattern for a DAILY (or every N day) recurrence. Time of the day that the
109776
+ # notification will occur is taken from the Prompt that owns this recurrence.
109777
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109778
+ # Corresponds to the JSON property `dailyRecurrence`
109779
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoDailyRecurrence]
109780
+ attr_accessor :daily_recurrence
109781
+
109782
+ # Multiplier on the frequency of the recurrence. Use this to specify patterns
109783
+ # that recur every X days, months, years, etc. Example: [remind me to call mom
109784
+ # every 2nd week]. Default value will be considered 1 (every day,every week,...)
109785
+ # and not 0. This is ignored for a SingleRecurrence. Optional.
109786
+ # Corresponds to the JSON property `every`
109787
+ # @return [Fixnum]
109788
+ attr_accessor :every
109789
+
109790
+ # A MONTHLY recurrence can be one of a MonthlyDayRecurrence or
109791
+ # MonthlyWeekdayRecurrence but not both. Used in PeopleAPI layers + FBS/
109792
+ # ContactsService (not in ProfileService)
109793
+ # Corresponds to the JSON property `monthlyRecurrence`
109794
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyRecurrence]
109795
+ attr_accessor :monthly_recurrence
109796
+
109797
+ # Represents civil time (or occasionally physical time). This type can represent
109798
+ # a civil time in one of a few possible ways: * When utc_offset is set and
109799
+ # time_zone is unset: a civil time on a calendar day with a particular offset
109800
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
109801
+ # calendar day in a particular time zone. * When neither time_zone nor
109802
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
109803
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
109804
+ # the DateTime is considered not to have a specific year, month, or day
109805
+ # respectively. This type may also be used to represent a physical time if all
109806
+ # the date and time fields are set and either case of the `time_offset` oneof is
109807
+ # set. Consider using `Timestamp` message for physical time instead. If your use
109808
+ # case also would like to store the user's timezone, that can be done in another
109809
+ # field. This type is more flexible than some applications may want. Make sure
109810
+ # to document and validate your application's limitations.
109811
+ # Corresponds to the JSON property `recurrenceEndDate`
109812
+ # @return [Google::Apis::ContentwarehouseV1::GoogleTypeDateTime]
109813
+ attr_accessor :recurrence_end_date
109814
+
109815
+ # Represents civil time (or occasionally physical time). This type can represent
109816
+ # a civil time in one of a few possible ways: * When utc_offset is set and
109817
+ # time_zone is unset: a civil time on a calendar day with a particular offset
109818
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
109819
+ # calendar day in a particular time zone. * When neither time_zone nor
109820
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
109821
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
109822
+ # the DateTime is considered not to have a specific year, month, or day
109823
+ # respectively. This type may also be used to represent a physical time if all
109824
+ # the date and time fields are set and either case of the `time_offset` oneof is
109825
+ # set. Consider using `Timestamp` message for physical time instead. If your use
109826
+ # case also would like to store the user's timezone, that can be done in another
109827
+ # field. This type is more flexible than some applications may want. Make sure
109828
+ # to document and validate your application's limitations.
109829
+ # Corresponds to the JSON property `recurrenceStart`
109830
+ # @return [Google::Apis::ContentwarehouseV1::GoogleTypeDateTime]
109831
+ attr_accessor :recurrence_start
109832
+
109833
+ # Will repeat only a finite number of times. This is the original number of
109834
+ # times the recurrence will repeat and not how many times are left for it to
109835
+ # repeat.
109836
+ # Corresponds to the JSON property `repeatCount`
109837
+ # @return [Fixnum]
109838
+ attr_accessor :repeat_count
109839
+
109840
+ # An internal message to signal that this recurrence has no end date.
109841
+ # Corresponds to the JSON property `repeatForever`
109842
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRecurrenceRepeatForever]
109843
+ attr_accessor :repeat_forever
109844
+
109845
+ # This prompt will occur one time only. Could be a single event such as a
109846
+ # graduation or a single connection reminder e.g. remind me to call X on 2022/03/
109847
+ # 19. Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109848
+ # Corresponds to the JSON property `singleRecurrence`
109849
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoSingleRecurrence]
109850
+ attr_accessor :single_recurrence
109851
+
109852
+ # Pattern for a WEEKLY recurrence. You must specify at least one week_day. Used
109853
+ # in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109854
+ # Corresponds to the JSON property `weeklyRecurrence`
109855
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoWeeklyRecurrence]
109856
+ attr_accessor :weekly_recurrence
109857
+
109858
+ # Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
109859
+ # monthly pattern and a set of months the pattern applies to. Some examples: "
109860
+ # Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
109861
+ # day of every April and August" : monthly_pattern ` month_day: -1 ` months:
109862
+ # APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
109863
+ # ProfileService)
109864
+ # Corresponds to the JSON property `yearlyRecurrence`
109865
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoYearlyRecurrence]
109866
+ attr_accessor :yearly_recurrence
109867
+
109868
+ def initialize(**args)
109869
+ update!(**args)
109870
+ end
109871
+
109872
+ # Update properties of this object
109873
+ def update!(**args)
109874
+ @daily_recurrence = args[:daily_recurrence] if args.key?(:daily_recurrence)
109875
+ @every = args[:every] if args.key?(:every)
109876
+ @monthly_recurrence = args[:monthly_recurrence] if args.key?(:monthly_recurrence)
109877
+ @recurrence_end_date = args[:recurrence_end_date] if args.key?(:recurrence_end_date)
109878
+ @recurrence_start = args[:recurrence_start] if args.key?(:recurrence_start)
109879
+ @repeat_count = args[:repeat_count] if args.key?(:repeat_count)
109880
+ @repeat_forever = args[:repeat_forever] if args.key?(:repeat_forever)
109881
+ @single_recurrence = args[:single_recurrence] if args.key?(:single_recurrence)
109882
+ @weekly_recurrence = args[:weekly_recurrence] if args.key?(:weekly_recurrence)
109883
+ @yearly_recurrence = args[:yearly_recurrence] if args.key?(:yearly_recurrence)
109884
+ end
109885
+ end
109886
+
109887
+ # An internal message to signal that this recurrence has no end date.
109888
+ class SocialGraphApiProtoRecurrenceRepeatForever
109889
+ include Google::Apis::Core::Hashable
109890
+
109891
+ def initialize(**args)
109892
+ update!(**args)
109893
+ end
109894
+
109895
+ # Update properties of this object
109896
+ def update!(**args)
109897
+ end
109898
+ end
109899
+
108940
109900
  # Data contained in every search profile. go/janata-profile-in-sgbe.
108941
109901
  class SocialGraphApiProtoSearchProfileData
108942
109902
  include Google::Apis::Core::Hashable
@@ -109354,6 +110314,34 @@ module Google
109354
110314
  end
109355
110315
  end
109356
110316
 
110317
+ # This prompt will occur one time only. Could be a single event such as a
110318
+ # graduation or a single connection reminder e.g. remind me to call X on 2022/03/
110319
+ # 19. Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
110320
+ class SocialGraphApiProtoSingleRecurrence
110321
+ include Google::Apis::Core::Hashable
110322
+
110323
+ # Represents a whole or partial calendar date, such as a birthday. The time of
110324
+ # day and time zone are either specified elsewhere or are insignificant. The
110325
+ # date is relative to the Gregorian Calendar. This can represent one of the
110326
+ # following: * A full date, with non-zero year, month, and day values. * A month
110327
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
110328
+ # with a zero month and a zero day. * A year and month, with a zero day (for
110329
+ # example, a credit card expiration date). Related types: * google.type.
110330
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
110331
+ # Corresponds to the JSON property `date`
110332
+ # @return [Google::Apis::ContentwarehouseV1::GoogleTypeDate]
110333
+ attr_accessor :date
110334
+
110335
+ def initialize(**args)
110336
+ update!(**args)
110337
+ end
110338
+
110339
+ # Update properties of this object
110340
+ def update!(**args)
110341
+ @date = args[:date] if args.key?(:date)
110342
+ end
110343
+ end
110344
+
109357
110345
  # LINT.IfChange
109358
110346
  class SocialGraphApiProtoSyncInfo
109359
110347
  include Google::Apis::Core::Hashable
@@ -109450,6 +110438,58 @@ module Google
109450
110438
  end
109451
110439
  end
109452
110440
 
110441
+ # Pattern for a WEEKLY recurrence. You must specify at least one week_day. Used
110442
+ # in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
110443
+ class SocialGraphApiProtoWeeklyRecurrence
110444
+ include Google::Apis::Core::Hashable
110445
+
110446
+ # Set of weekdays the recurrence applies to.
110447
+ # Corresponds to the JSON property `weekDay`
110448
+ # @return [Array<String>]
110449
+ attr_accessor :week_day
110450
+
110451
+ def initialize(**args)
110452
+ update!(**args)
110453
+ end
110454
+
110455
+ # Update properties of this object
110456
+ def update!(**args)
110457
+ @week_day = args[:week_day] if args.key?(:week_day)
110458
+ end
110459
+ end
110460
+
110461
+ # Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
110462
+ # monthly pattern and a set of months the pattern applies to. Some examples: "
110463
+ # Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
110464
+ # day of every April and August" : monthly_pattern ` month_day: -1 ` months:
110465
+ # APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
110466
+ # ProfileService)
110467
+ class SocialGraphApiProtoYearlyRecurrence
110468
+ include Google::Apis::Core::Hashable
110469
+
110470
+ # A MONTHLY recurrence can be one of a MonthlyDayRecurrence or
110471
+ # MonthlyWeekdayRecurrence but not both. Used in PeopleAPI layers + FBS/
110472
+ # ContactsService (not in ProfileService)
110473
+ # Corresponds to the JSON property `monthlyPattern`
110474
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoMonthlyRecurrence]
110475
+ attr_accessor :monthly_pattern
110476
+
110477
+ # The months of the year to apply the pattern.
110478
+ # Corresponds to the JSON property `months`
110479
+ # @return [Array<String>]
110480
+ attr_accessor :months
110481
+
110482
+ def initialize(**args)
110483
+ update!(**args)
110484
+ end
110485
+
110486
+ # Update properties of this object
110487
+ def update!(**args)
110488
+ @monthly_pattern = args[:monthly_pattern] if args.key?(:monthly_pattern)
110489
+ @months = args[:months] if args.key?(:months)
110490
+ end
110491
+ end
110492
+
109453
110493
  # Extra ranking info returned with affinity data. This info is returned by DAS
109454
110494
  # and passed to PAPI clients (Yenta), where it is used for ranking and filtering
109455
110495
  # device and server suggestions together.
@@ -109572,28 +110612,6 @@ module Google
109572
110612
  end
109573
110613
  end
109574
110614
 
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
110615
  # Dynamite-related extension data.
109598
110616
  class SocialGraphWireProtoPeopleapiExtensionDynamiteExtendedData
109599
110617
  include Google::Apis::Core::Hashable
@@ -117271,6 +118289,13 @@ module Google
117271
118289
  # @return [Fixnum]
117272
118290
  attr_accessor :merged_line_count
117273
118291
 
118292
+ # # of OCR texts that appear in the same frame. If duration of this OCR text is
118293
+ # not zero, the maximum number among multiple frames where this OCR text appears
118294
+ # is set to this field.
118295
+ # Corresponds to the JSON property `nTextsInSameFrame`
118296
+ # @return [Fixnum]
118297
+ attr_accessor :n_texts_in_same_frame
118298
+
117274
118299
  # The number of OCR texts that have the same text among temporally-merged OCR
117275
118300
  # texts.
117276
118301
  # Corresponds to the JSON property `occurrenceCount`
@@ -117367,6 +118392,7 @@ module Google
117367
118392
  @left_position_ratio = args[:left_position_ratio] if args.key?(:left_position_ratio)
117368
118393
  @median_clustering_distance = args[:median_clustering_distance] if args.key?(:median_clustering_distance)
117369
118394
  @merged_line_count = args[:merged_line_count] if args.key?(:merged_line_count)
118395
+ @n_texts_in_same_frame = args[:n_texts_in_same_frame] if args.key?(:n_texts_in_same_frame)
117370
118396
  @occurrence_count = args[:occurrence_count] if args.key?(:occurrence_count)
117371
118397
  @occurrence_ratio = args[:occurrence_ratio] if args.key?(:occurrence_ratio)
117372
118398
  @ocr_asr_feature = args[:ocr_asr_feature] if args.key?(:ocr_asr_feature)
@@ -118467,7 +119493,7 @@ module Google
118467
119493
  end
118468
119494
  end
118469
119495
 
118470
- # Next ID: 22
119496
+ # Next ID: 23
118471
119497
  class VideoContentSearchVideoAnchor
118472
119498
  include Google::Apis::Core::Hashable
118473
119499
 
@@ -118481,6 +119507,11 @@ module Google
118481
119507
  # @return [String]
118482
119508
  attr_accessor :anchor_type
118483
119509
 
119510
+ # Context text from ASR of long duration, used for longT5 models.
119511
+ # Corresponds to the JSON property `contextText`
119512
+ # @return [String]
119513
+ attr_accessor :context_text
119514
+
118484
119515
  # When set, this is the link that should be used when clicking on a video anchor.
118485
119516
  # This should jump to the given time in the video.
118486
119517
  # Corresponds to the JSON property `destinationUrl`
@@ -118587,6 +119618,7 @@ module Google
118587
119618
  def update!(**args)
118588
119619
  @anchor_score = args[:anchor_score] if args.key?(:anchor_score)
118589
119620
  @anchor_type = args[:anchor_type] if args.key?(:anchor_type)
119621
+ @context_text = args[:context_text] if args.key?(:context_text)
118590
119622
  @destination_url = args[:destination_url] if args.key?(:destination_url)
118591
119623
  @duration = args[:duration] if args.key?(:duration)
118592
119624
  @entity_score = args[:entity_score] if args.key?(:entity_score)
@@ -123965,8 +124997,7 @@ module Google
123965
124997
  # @return [Fixnum]
123966
124998
  attr_accessor :snippet_byline_date
123967
124999
 
123968
- # Extra snippet info used for snippet scoring / modification in superroot. Next
123969
- # ID: 11
125000
+ #
123970
125001
  # Corresponds to the JSON property `snippetExtraInfo`
123971
125002
  # @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfo]
123972
125003
  attr_accessor :snippet_extra_info
@@ -125038,8 +126069,7 @@ module Google
125038
126069
  end
125039
126070
 
125040
126071
  # The annotation of a document by a given entity, for a given type of
125041
- # relationship. The annotation should be valid for the complete annotated
125042
- # document, not simply a part of the document such as a video segment.
126072
+ # relationship.
125043
126073
  class YoutubeDiscoveryLegosLegosAnnotation
125044
126074
  include Google::Apis::Core::Hashable
125045
126075
 
@@ -125053,6 +126083,11 @@ module Google
125053
126083
  # @return [Google::Apis::ContentwarehouseV1::YoutubeDiscoveryLegosLegosFormatRelationship]
125054
126084
  attr_accessor :format
125055
126085
 
126086
+ # Description of a present Legos annotation.
126087
+ # Corresponds to the JSON property `present`
126088
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeDiscoveryLegosLegosPresentRelationship]
126089
+ attr_accessor :present
126090
+
125056
126091
  # Description of a semantic Legos annotation. http://go/legos/project.md#
125057
126092
  # semantic-intent-annotations
125058
126093
  # Corresponds to the JSON property `semantic`
@@ -125073,6 +126108,7 @@ module Google
125073
126108
  def update!(**args)
125074
126109
  @entity = args[:entity] if args.key?(:entity)
125075
126110
  @format = args[:format] if args.key?(:format)
126111
+ @present = args[:present] if args.key?(:present)
125076
126112
  @semantic = args[:semantic] if args.key?(:semantic)
125077
126113
  @taxonomic = args[:taxonomic] if args.key?(:taxonomic)
125078
126114
  end
@@ -125153,6 +126189,35 @@ module Google
125153
126189
  end
125154
126190
  end
125155
126191
 
126192
+ # Description of a present Legos annotation.
126193
+ class YoutubeDiscoveryLegosLegosPresentRelationship
126194
+ include Google::Apis::Core::Hashable
126195
+
126196
+ # Confidence score. Thresholding at the confidence score at 0.XX yields
126197
+ # annotations of precision of at least XX%.
126198
+ # Corresponds to the JSON property `confidence`
126199
+ # @return [Float]
126200
+ attr_accessor :confidence
126201
+
126202
+ # Extra context about how the entity relates to the document. Typically vertical-
126203
+ # specific. Please refrain from populating this field as we're working on
126204
+ # migrating most of the use cases to the LegosEntity proto so clients don't have
126205
+ # to scan all relationships to know which annotations they may be interested in.
126206
+ # Corresponds to the JSON property `contexts`
126207
+ # @return [Array<Google::Apis::ContentwarehouseV1::YoutubeDiscoveryLegosLegosSemanticRelationshipContext>]
126208
+ attr_accessor :contexts
126209
+
126210
+ def initialize(**args)
126211
+ update!(**args)
126212
+ end
126213
+
126214
+ # Update properties of this object
126215
+ def update!(**args)
126216
+ @confidence = args[:confidence] if args.key?(:confidence)
126217
+ @contexts = args[:contexts] if args.key?(:contexts)
126218
+ end
126219
+ end
126220
+
125156
126221
  # Description of a semantic Legos annotation. http://go/legos/project.md#
125157
126222
  # semantic-intent-annotations
125158
126223
  class YoutubeDiscoveryLegosLegosSemanticRelationship