google-apis-contentwarehouse_v1 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2467,11 +2467,12 @@ module Google
2467
2467
  attr_accessor :age_disable_grace_period
2468
2468
 
2469
2469
  # Whether the user has opted in to display their birthday via photo decorations.
2470
+ # Only supported for PROFILE/DOMAIN_PROFILE container.
2470
2471
  # Corresponds to the JSON property `birthdayDecoration`
2471
2472
  # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoBirthdayDecoration]
2472
2473
  attr_accessor :birthday_decoration
2473
2474
 
2474
- #
2475
+ # Only supported for PROFILE/DOMAIN_PROFILE/ACCOUNT container.
2475
2476
  # Corresponds to the JSON property `birthdayResolution`
2476
2477
  # @return [String]
2477
2478
  attr_accessor :birthday_resolution
@@ -3584,10 +3585,9 @@ module Google
3584
3585
  end
3585
3586
  end
3586
3587
 
3587
- # Represents a hosted S/MIME certificate config for use with Gmail. See //
3588
- # caribou/smime/proto/certificate_status.proto. There can be zero or more
3589
- # certificates associated with an email address, be it profile email or contact
3590
- # email.
3588
+ # Represents a S/MIME certificate config for use with Gmail. See //caribou/smime/
3589
+ # proto/certificate_status.proto. There can be zero or more certificates
3590
+ # associated with an email address, be it profile email or contact email.
3591
3591
  class AppsPeopleOzExternalMergedpeopleapiEmailCertificate
3592
3592
  include Google::Apis::Core::Hashable
3593
3593
 
@@ -5403,6 +5403,33 @@ module Google
5403
5403
  end
5404
5404
  end
5405
5405
 
5406
+ # Pronunciation audio metadata info. See go/name-pronunciation-backend. The
5407
+ # metadata itself tracks the state of a user's name pronunciation audio.
5408
+ class AppsPeopleOzExternalMergedpeopleapiNamePronunciationAudioMetadataInfo
5409
+ include Google::Apis::Core::Hashable
5410
+
5411
+ # Metadata for a single Person field. See go/understanding-merged-person
5412
+ # Corresponds to the JSON property `metadata`
5413
+ # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
5414
+ attr_accessor :metadata
5415
+
5416
+ # Metadata for a user's name pronunciation audio. Proto message is shared
5417
+ # between merged_person and FBS.
5418
+ # Corresponds to the JSON property `namePronunciationAudioMetadata`
5419
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoNamePronunciationAudioMetadata]
5420
+ attr_accessor :name_pronunciation_audio_metadata
5421
+
5422
+ def initialize(**args)
5423
+ update!(**args)
5424
+ end
5425
+
5426
+ # Update properties of this object
5427
+ def update!(**args)
5428
+ @metadata = args[:metadata] if args.key?(:metadata)
5429
+ @name_pronunciation_audio_metadata = args[:name_pronunciation_audio_metadata] if args.key?(:name_pronunciation_audio_metadata)
5430
+ end
5431
+ end
5432
+
5406
5433
  #
5407
5434
  class AppsPeopleOzExternalMergedpeopleapiNickname
5408
5435
  include Google::Apis::Core::Hashable
@@ -6085,6 +6112,12 @@ module Google
6085
6112
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiName>]
6086
6113
  attr_accessor :name
6087
6114
 
6115
+ # Metadata info for a user's name pronunciation audio. See go/name-pronunication-
6116
+ # backend.
6117
+ # Corresponds to the JSON property `namePronunciationAudioMetadataInfo`
6118
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiNamePronunciationAudioMetadataInfo>]
6119
+ attr_accessor :name_pronunciation_audio_metadata_info
6120
+
6088
6121
  #
6089
6122
  # Corresponds to the JSON property `nickname`
6090
6123
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiNickname>]
@@ -6165,7 +6198,8 @@ module Google
6165
6198
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiProfileUrl>]
6166
6199
  attr_accessor :profile_url_repeated
6167
6200
 
6168
- #
6201
+ # Pronouns are not supported for consumer profiles. See go/pronouns-in-people-
6202
+ # system-prd for more details.
6169
6203
  # Corresponds to the JSON property `pronoun`
6170
6204
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPronoun>]
6171
6205
  attr_accessor :pronoun
@@ -6310,6 +6344,7 @@ module Google
6310
6344
  @metadata = args[:metadata] if args.key?(:metadata)
6311
6345
  @mission = args[:mission] if args.key?(:mission)
6312
6346
  @name = args[:name] if args.key?(:name)
6347
+ @name_pronunciation_audio_metadata_info = args[:name_pronunciation_audio_metadata_info] if args.key?(:name_pronunciation_audio_metadata_info)
6313
6348
  @nickname = args[:nickname] if args.key?(:nickname)
6314
6349
  @occupation = args[:occupation] if args.key?(:occupation)
6315
6350
  @organization = args[:organization] if args.key?(:organization)
@@ -7076,6 +7111,13 @@ module Google
7076
7111
  class AppsPeopleOzExternalMergedpeopleapiPhoto
7077
7112
  include Google::Apis::Core::Hashable
7078
7113
 
7114
+ # Read-only. Use UpdatePersonPhoto to change photo decorations. If this photo is
7115
+ # decorated, this field contains information about its decorations. For now,
7116
+ # this will contain at most one entry.
7117
+ # Corresponds to the JSON property `decoration`
7118
+ # @return [Array<Google::Apis::ContentwarehouseV1::SocialGraphApiProtoDecorationOverlay>]
7119
+ attr_accessor :decoration
7120
+
7079
7121
  # URL of an emoji avatar as an image. See go/emoji-cdn. PeopleAPI will return
7080
7122
  # the SVG format so that it can be scaled client side and so that the images
7081
7123
  # will not be animated. All clients that use this field must also have fall-back
@@ -7136,6 +7178,13 @@ module Google
7136
7178
  # @return [String]
7137
7179
  attr_accessor :monogram_background
7138
7180
 
7181
+ # A reference to a photo in either Photos Backend or SGI storage. This message
7182
+ # should be treated as an opaque blob to avoid a dependency on a specific
7183
+ # storage backend.
7184
+ # Corresponds to the JSON property `originalPhoto`
7185
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoImageReference]
7186
+ attr_accessor :original_photo
7187
+
7139
7188
  # Info necessary for looking up a photo in storage.
7140
7189
  # Corresponds to the JSON property `photoId`
7141
7190
  # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPhotoPhotoStorageId]
@@ -7168,6 +7217,7 @@ module Google
7168
7217
 
7169
7218
  # Update properties of this object
7170
7219
  def update!(**args)
7220
+ @decoration = args[:decoration] if args.key?(:decoration)
7171
7221
  @emoji_avatar_url = args[:emoji_avatar_url] if args.key?(:emoji_avatar_url)
7172
7222
  @glyph = args[:glyph] if args.key?(:glyph)
7173
7223
  @html_attribution = args[:html_attribution] if args.key?(:html_attribution)
@@ -7175,6 +7225,7 @@ module Google
7175
7225
  @is_monogram = args[:is_monogram] if args.key?(:is_monogram)
7176
7226
  @metadata = args[:metadata] if args.key?(:metadata)
7177
7227
  @monogram_background = args[:monogram_background] if args.key?(:monogram_background)
7228
+ @original_photo = args[:original_photo] if args.key?(:original_photo)
7178
7229
  @photo_id = args[:photo_id] if args.key?(:photo_id)
7179
7230
  @photo_token = args[:photo_token] if args.key?(:photo_token)
7180
7231
  @url = args[:url] if args.key?(:url)
@@ -12147,9 +12198,7 @@ module Google
12147
12198
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiOutputRestrictions]
12148
12199
  attr_accessor :output_restrictions
12149
12200
 
12150
- # Capability to support Pop on lockscreen. TODO(b/230626444) this is for short
12151
- # term workaround for TNG MA DF. Should be deprecated when long term solution is
12152
- # available. go/pop-on-lockscreen-for-tng-ma.
12201
+ # Capability to support Pop on lockscreen.
12153
12202
  # Corresponds to the JSON property `popOnLockscreenCapability`
12154
12203
  # @return [String]
12155
12204
  attr_accessor :pop_on_lockscreen_capability
@@ -16391,7 +16440,7 @@ module Google
16391
16440
  end
16392
16441
  end
16393
16442
 
16394
- # Next ID: 17
16443
+ # Next ID: 18
16395
16444
  class AssistantApiSuggestionsSupport
16396
16445
  include Google::Apis::Core::Hashable
16397
16446
 
@@ -16470,6 +16519,13 @@ module Google
16470
16519
  attr_accessor :feature_specific_app_actions_notification_supported
16471
16520
  alias_method :feature_specific_app_actions_notification_supported?, :feature_specific_app_actions_notification_supported
16472
16521
 
16522
+ # Whether the multi-step try saying suggestion feature is supported. dd: go/tng-
16523
+ # multi-step-simplified
16524
+ # Corresponds to the JSON property `multiStepTrySayingSupported`
16525
+ # @return [Boolean]
16526
+ attr_accessor :multi_step_try_saying_supported
16527
+ alias_method :multi_step_try_saying_supported?, :multi_step_try_saying_supported
16528
+
16473
16529
  # Whether the rule_id field in the execution_context is supported. This is a
16474
16530
  # temporary workaround to be able to identify clicks on Person entity
16475
16531
  # suggestions on Sabrina and is expected to be eventually deprecated. TODO(b/
@@ -16522,6 +16578,7 @@ module Google
16522
16578
  @execution_context_supported = args[:execution_context_supported] if args.key?(:execution_context_supported)
16523
16579
  @feature_specific_action_support = args[:feature_specific_action_support] if args.key?(:feature_specific_action_support)
16524
16580
  @feature_specific_app_actions_notification_supported = args[:feature_specific_app_actions_notification_supported] if args.key?(:feature_specific_app_actions_notification_supported)
16581
+ @multi_step_try_saying_supported = args[:multi_step_try_saying_supported] if args.key?(:multi_step_try_saying_supported)
16525
16582
  @rule_id_in_execution_context_supported = args[:rule_id_in_execution_context_supported] if args.key?(:rule_id_in_execution_context_supported)
16526
16583
  @show_executed_text_supported = args[:show_executed_text_supported] if args.key?(:show_executed_text_supported)
16527
16584
  @show_translation_supported = args[:show_translation_supported] if args.key?(:show_translation_supported)
@@ -17034,7 +17091,7 @@ module Google
17034
17091
  attr_accessor :soli_gesture_detection_supported
17035
17092
  alias_method :soli_gesture_detection_supported?, :soli_gesture_detection_supported
17036
17093
 
17037
- # Next ID: 17
17094
+ # Next ID: 18
17038
17095
  # Corresponds to the JSON property `suggestionsSupport`
17039
17096
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSuggestionsSupport]
17040
17097
  attr_accessor :suggestions_support
@@ -18729,6 +18786,97 @@ module Google
18729
18786
  end
18730
18787
  end
18731
18788
 
18789
+ #
18790
+ class AssistantGroundingRankerAssistantInteractionFeatures
18791
+ include Google::Apis::Core::Hashable
18792
+
18793
+ #
18794
+ # Corresponds to the JSON property `timeDecayed14dHalfLife`
18795
+ # @return [Float]
18796
+ attr_accessor :time_decayed14d_half_life
18797
+
18798
+ # Frequency features.
18799
+ # Corresponds to the JSON property `timeDecayed1dHalfLife`
18800
+ # @return [Float]
18801
+ attr_accessor :time_decayed1d_half_life
18802
+
18803
+ #
18804
+ # Corresponds to the JSON property `timeDecayed7dHalfLife`
18805
+ # @return [Float]
18806
+ attr_accessor :time_decayed7d_half_life
18807
+
18808
+ #
18809
+ # Corresponds to the JSON property `timeDecayedAccepted14dHalfLife`
18810
+ # @return [Float]
18811
+ attr_accessor :time_decayed_accepted14d_half_life
18812
+
18813
+ #
18814
+ # Corresponds to the JSON property `timeDecayedAuis14dHalfLife`
18815
+ # @return [Float]
18816
+ attr_accessor :time_decayed_auis14d_half_life
18817
+
18818
+ #
18819
+ # Corresponds to the JSON property `timeDecayedCanceled14dHalfLife`
18820
+ # @return [Float]
18821
+ attr_accessor :time_decayed_canceled14d_half_life
18822
+
18823
+ #
18824
+ # Corresponds to the JSON property `timeDecayedDeclined14dHalfLife`
18825
+ # @return [Float]
18826
+ attr_accessor :time_decayed_declined14d_half_life
18827
+
18828
+ #
18829
+ # Corresponds to the JSON property `timeSinceLastButOneCanceledActionSecs`
18830
+ # @return [Float]
18831
+ attr_accessor :time_since_last_but_one_canceled_action_secs
18832
+
18833
+ #
18834
+ # Corresponds to the JSON property `timeSinceLastButOneCompletedActionSecs`
18835
+ # @return [Float]
18836
+ attr_accessor :time_since_last_but_one_completed_action_secs
18837
+
18838
+ #
18839
+ # Corresponds to the JSON property `timeSinceLastButTwoCanceledActionSecs`
18840
+ # @return [Float]
18841
+ attr_accessor :time_since_last_but_two_canceled_action_secs
18842
+
18843
+ #
18844
+ # Corresponds to the JSON property `timeSinceLastButTwoCompletedActionSecs`
18845
+ # @return [Float]
18846
+ attr_accessor :time_since_last_but_two_completed_action_secs
18847
+
18848
+ #
18849
+ # Corresponds to the JSON property `timeSinceLastCanceledActionSecs`
18850
+ # @return [Float]
18851
+ attr_accessor :time_since_last_canceled_action_secs
18852
+
18853
+ # Recency features.
18854
+ # Corresponds to the JSON property `timeSinceLastCompletedActionSecs`
18855
+ # @return [Float]
18856
+ attr_accessor :time_since_last_completed_action_secs
18857
+
18858
+ def initialize(**args)
18859
+ update!(**args)
18860
+ end
18861
+
18862
+ # Update properties of this object
18863
+ def update!(**args)
18864
+ @time_decayed14d_half_life = args[:time_decayed14d_half_life] if args.key?(:time_decayed14d_half_life)
18865
+ @time_decayed1d_half_life = args[:time_decayed1d_half_life] if args.key?(:time_decayed1d_half_life)
18866
+ @time_decayed7d_half_life = args[:time_decayed7d_half_life] if args.key?(:time_decayed7d_half_life)
18867
+ @time_decayed_accepted14d_half_life = args[:time_decayed_accepted14d_half_life] if args.key?(:time_decayed_accepted14d_half_life)
18868
+ @time_decayed_auis14d_half_life = args[:time_decayed_auis14d_half_life] if args.key?(:time_decayed_auis14d_half_life)
18869
+ @time_decayed_canceled14d_half_life = args[:time_decayed_canceled14d_half_life] if args.key?(:time_decayed_canceled14d_half_life)
18870
+ @time_decayed_declined14d_half_life = args[:time_decayed_declined14d_half_life] if args.key?(:time_decayed_declined14d_half_life)
18871
+ @time_since_last_but_one_canceled_action_secs = args[:time_since_last_but_one_canceled_action_secs] if args.key?(:time_since_last_but_one_canceled_action_secs)
18872
+ @time_since_last_but_one_completed_action_secs = args[:time_since_last_but_one_completed_action_secs] if args.key?(:time_since_last_but_one_completed_action_secs)
18873
+ @time_since_last_but_two_canceled_action_secs = args[:time_since_last_but_two_canceled_action_secs] if args.key?(:time_since_last_but_two_canceled_action_secs)
18874
+ @time_since_last_but_two_completed_action_secs = args[:time_since_last_but_two_completed_action_secs] if args.key?(:time_since_last_but_two_completed_action_secs)
18875
+ @time_since_last_canceled_action_secs = args[:time_since_last_canceled_action_secs] if args.key?(:time_since_last_canceled_action_secs)
18876
+ @time_since_last_completed_action_secs = args[:time_since_last_completed_action_secs] if args.key?(:time_since_last_completed_action_secs)
18877
+ end
18878
+ end
18879
+
18732
18880
  # Features to be passed from Contact GP to HGR. Next ID: 13
18733
18881
  class AssistantGroundingRankerContactGroundingProviderFeatures
18734
18882
  include Google::Apis::Core::Hashable
@@ -18823,6 +18971,37 @@ module Google
18823
18971
  end
18824
18972
  end
18825
18973
 
18974
+ # Device contact affinity from android call logs.
18975
+ class AssistantGroundingRankerDeviceContactAffinityFeatures
18976
+ include Google::Apis::Core::Hashable
18977
+
18978
+ #
18979
+ # Corresponds to the JSON property `aggregateAffinity`
18980
+ # @return [Float]
18981
+ attr_accessor :aggregate_affinity
18982
+
18983
+ #
18984
+ # Corresponds to the JSON property `callAffinity`
18985
+ # @return [Float]
18986
+ attr_accessor :call_affinity
18987
+
18988
+ #
18989
+ # Corresponds to the JSON property `messageAffinity`
18990
+ # @return [Float]
18991
+ attr_accessor :message_affinity
18992
+
18993
+ def initialize(**args)
18994
+ update!(**args)
18995
+ end
18996
+
18997
+ # Update properties of this object
18998
+ def update!(**args)
18999
+ @aggregate_affinity = args[:aggregate_affinity] if args.key?(:aggregate_affinity)
19000
+ @call_affinity = args[:call_affinity] if args.key?(:call_affinity)
19001
+ @message_affinity = args[:message_affinity] if args.key?(:message_affinity)
19002
+ end
19003
+ end
19004
+
18826
19005
  # Next ID: 4
18827
19006
  class AssistantGroundingRankerGroundingProviderFeatures
18828
19007
  include Google::Apis::Core::Hashable
@@ -18832,7 +19011,7 @@ module Google
18832
19011
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
18833
19012
  attr_accessor :contact_grounding_provider_features
18834
19013
 
18835
- # Features to be passed from Media GP to HGR. Next ID: 4
19014
+ # Features to be passed from Media GP to HGR. Next ID: 6
18836
19015
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
18837
19016
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
18838
19017
  attr_accessor :media_grounding_provider_features
@@ -18854,10 +19033,139 @@ module Google
18854
19033
  end
18855
19034
  end
18856
19035
 
18857
- # Features to be passed from Media GP to HGR. Next ID: 4
19036
+ #
19037
+ class AssistantGroundingRankerLaaFeatures
19038
+ include Google::Apis::Core::Hashable
19039
+
19040
+ #
19041
+ # Corresponds to the JSON property `bindingSet`
19042
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesBindingSet]
19043
+ attr_accessor :binding_set
19044
+
19045
+ #
19046
+ # Corresponds to the JSON property `communicationEndpoint`
19047
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesCommunicationEndpoint]
19048
+ attr_accessor :communication_endpoint
19049
+
19050
+ #
19051
+ # Corresponds to the JSON property `contact`
19052
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesContact]
19053
+ attr_accessor :contact
19054
+
19055
+ #
19056
+ # Corresponds to the JSON property `provider`
19057
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesProvider]
19058
+ attr_accessor :provider
19059
+
19060
+ def initialize(**args)
19061
+ update!(**args)
19062
+ end
19063
+
19064
+ # Update properties of this object
19065
+ def update!(**args)
19066
+ @binding_set = args[:binding_set] if args.key?(:binding_set)
19067
+ @communication_endpoint = args[:communication_endpoint] if args.key?(:communication_endpoint)
19068
+ @contact = args[:contact] if args.key?(:contact)
19069
+ @provider = args[:provider] if args.key?(:provider)
19070
+ end
19071
+ end
19072
+
19073
+ #
19074
+ class AssistantGroundingRankerLaaFeaturesBindingSet
19075
+ include Google::Apis::Core::Hashable
19076
+
19077
+ #
19078
+ # Corresponds to the JSON property `assistantInteractionFeatures`
19079
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerAssistantInteractionFeatures]
19080
+ attr_accessor :assistant_interaction_features
19081
+
19082
+ def initialize(**args)
19083
+ update!(**args)
19084
+ end
19085
+
19086
+ # Update properties of this object
19087
+ def update!(**args)
19088
+ @assistant_interaction_features = args[:assistant_interaction_features] if args.key?(:assistant_interaction_features)
19089
+ end
19090
+ end
19091
+
19092
+ #
19093
+ class AssistantGroundingRankerLaaFeaturesCommunicationEndpoint
19094
+ include Google::Apis::Core::Hashable
19095
+
19096
+ #
19097
+ # Corresponds to the JSON property `assistantInteractionFeatures`
19098
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerAssistantInteractionFeatures]
19099
+ attr_accessor :assistant_interaction_features
19100
+
19101
+ def initialize(**args)
19102
+ update!(**args)
19103
+ end
19104
+
19105
+ # Update properties of this object
19106
+ def update!(**args)
19107
+ @assistant_interaction_features = args[:assistant_interaction_features] if args.key?(:assistant_interaction_features)
19108
+ end
19109
+ end
19110
+
19111
+ #
19112
+ class AssistantGroundingRankerLaaFeaturesContact
19113
+ include Google::Apis::Core::Hashable
19114
+
19115
+ #
19116
+ # Corresponds to the JSON property `assistantInteractionFeatures`
19117
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerAssistantInteractionFeatures]
19118
+ attr_accessor :assistant_interaction_features
19119
+
19120
+ # Device contact affinity from android call logs.
19121
+ # Corresponds to the JSON property `deviceContactAffinityFeatures`
19122
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceContactAffinityFeatures]
19123
+ attr_accessor :device_contact_affinity_features
19124
+
19125
+ def initialize(**args)
19126
+ update!(**args)
19127
+ end
19128
+
19129
+ # Update properties of this object
19130
+ def update!(**args)
19131
+ @assistant_interaction_features = args[:assistant_interaction_features] if args.key?(:assistant_interaction_features)
19132
+ @device_contact_affinity_features = args[:device_contact_affinity_features] if args.key?(:device_contact_affinity_features)
19133
+ end
19134
+ end
19135
+
19136
+ #
19137
+ class AssistantGroundingRankerLaaFeaturesProvider
19138
+ include Google::Apis::Core::Hashable
19139
+
19140
+ #
19141
+ # Corresponds to the JSON property `assistantInteractionFeatures`
19142
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerAssistantInteractionFeatures]
19143
+ attr_accessor :assistant_interaction_features
19144
+
19145
+ def initialize(**args)
19146
+ update!(**args)
19147
+ end
19148
+
19149
+ # Update properties of this object
19150
+ def update!(**args)
19151
+ @assistant_interaction_features = args[:assistant_interaction_features] if args.key?(:assistant_interaction_features)
19152
+ end
19153
+ end
19154
+
19155
+ # Features to be passed from Media GP to HGR. Next ID: 6
18858
19156
  class AssistantGroundingRankerMediaGroundingProviderFeatures
18859
19157
  include Google::Apis::Core::Hashable
18860
19158
 
19159
+ # Whether the candidate is YouTube CAST_VIDEO candidate. CAST_VIDEO is a
19160
+ # deeplink platform. This signal will be used to promote YouTube Music screenful
19161
+ # candidates with CAST_VIDEO platform for free users because free users cannot
19162
+ # get exact entities in screenless response and can get exact entities with ads
19163
+ # in screenful response.
19164
+ # Corresponds to the JSON property `isCastVideo`
19165
+ # @return [Boolean]
19166
+ attr_accessor :is_cast_video
19167
+ alias_method :is_cast_video?, :is_cast_video
19168
+
18861
19169
  # True if the media deeplink has tag SEED_RADIO.
18862
19170
  # Corresponds to the JSON property `isSeedRadio`
18863
19171
  # @return [Boolean]
@@ -18882,15 +19190,23 @@ module Google
18882
19190
  # @return [Float]
18883
19191
  attr_accessor :msc_rate
18884
19192
 
19193
+ # Scubed predicted SAI value (pSAI) for music populated by a regression model
19194
+ # that incorporates a BERT model signal as well as other Scubed signals.
19195
+ # Corresponds to the JSON property `scubedPSaiMusic`
19196
+ # @return [Float]
19197
+ attr_accessor :scubed_p_sai_music
19198
+
18885
19199
  def initialize(**args)
18886
19200
  update!(**args)
18887
19201
  end
18888
19202
 
18889
19203
  # Update properties of this object
18890
19204
  def update!(**args)
19205
+ @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
18891
19206
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
18892
19207
  @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
18893
19208
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
19209
+ @scubed_p_sai_music = args[:scubed_p_sai_music] if args.key?(:scubed_p_sai_music)
18894
19210
  end
18895
19211
  end
18896
19212
 
@@ -20242,6 +20558,25 @@ module Google
20242
20558
  end
20243
20559
  end
20244
20560
 
20561
+ # Provider annotation annotated from the query.
20562
+ class AssistantLogsProviderAnnotationLog
20563
+ include Google::Apis::Core::Hashable
20564
+
20565
+ #
20566
+ # Corresponds to the JSON property `packageNames`
20567
+ # @return [Array<String>]
20568
+ attr_accessor :package_names
20569
+
20570
+ def initialize(**args)
20571
+ update!(**args)
20572
+ end
20573
+
20574
+ # Update properties of this object
20575
+ def update!(**args)
20576
+ @package_names = args[:package_names] if args.key?(:package_names)
20577
+ end
20578
+ end
20579
+
20245
20580
  # Log about the query requirements
20246
20581
  class AssistantLogsQueryAnnotationLog
20247
20582
  include Google::Apis::Core::Hashable
@@ -20256,6 +20591,11 @@ module Google
20256
20591
  # @return [Array<Google::Apis::ContentwarehouseV1::AssistantLogsDeviceAnnotationLog>]
20257
20592
  attr_accessor :device_annotations
20258
20593
 
20594
+ # Provider annotation annotated from the query.
20595
+ # Corresponds to the JSON property `providerAnnotation`
20596
+ # @return [Google::Apis::ContentwarehouseV1::AssistantLogsProviderAnnotationLog]
20597
+ attr_accessor :provider_annotation
20598
+
20259
20599
  # Room annotation mentioned in query.
20260
20600
  # Corresponds to the JSON property `roomAnnotation`
20261
20601
  # @return [Google::Apis::ContentwarehouseV1::AssistantLogsRoomAnnotationLog]
@@ -20279,6 +20619,7 @@ module Google
20279
20619
  def update!(**args)
20280
20620
  @device_annotation = args[:device_annotation] if args.key?(:device_annotation)
20281
20621
  @device_annotations = args[:device_annotations] if args.key?(:device_annotations)
20622
+ @provider_annotation = args[:provider_annotation] if args.key?(:provider_annotation)
20282
20623
  @room_annotation = args[:room_annotation] if args.key?(:room_annotation)
20283
20624
  @room_annotations = args[:room_annotations] if args.key?(:room_annotations)
20284
20625
  @structure_annotations = args[:structure_annotations] if args.key?(:structure_annotations)
@@ -20480,7 +20821,7 @@ module Google
20480
20821
 
20481
20822
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20482
20823
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20483
- # Next ID: 36
20824
+ # Next ID: 39
20484
20825
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20485
20826
  include Google::Apis::Core::Hashable
20486
20827
 
@@ -20499,6 +20840,12 @@ module Google
20499
20840
  # @return [Float]
20500
20841
  attr_accessor :calibrated_parsing_score
20501
20842
 
20843
+ # Whether the intent is dominant according to NSP deep-media.
20844
+ # Corresponds to the JSON property `deepMediaDominant`
20845
+ # @return [Boolean]
20846
+ attr_accessor :deep_media_dominant
20847
+ alias_method :deep_media_dominant?, :deep_media_dominant
20848
+
20502
20849
  # Indicates interpretation dominance predicted by KScorer
20503
20850
  # Corresponds to the JSON property `dominant`
20504
20851
  # @return [Boolean]
@@ -20514,6 +20861,12 @@ module Google
20514
20861
  # @return [Float]
20515
20862
  attr_accessor :effective_arg_span_length
20516
20863
 
20864
+ # Whether this is a fulfillable, dominant Media intent.
20865
+ # Corresponds to the JSON property `fulfillableDominantMedia`
20866
+ # @return [Boolean]
20867
+ attr_accessor :fulfillable_dominant_media
20868
+ alias_method :fulfillable_dominant_media?, :fulfillable_dominant_media
20869
+
20517
20870
  # Grounding Signals. Score indicating how grounded the intent is, populated by
20518
20871
  # the Grounding Box.
20519
20872
  # Corresponds to the JSON property `groundabilityScore`
@@ -20562,6 +20915,12 @@ module Google
20562
20915
  # @return [Fixnum]
20563
20916
  attr_accessor :kscorer_rank
20564
20917
 
20918
+ # Learn and adapt(go/laa) related features. Design doc: go/laa-profile-signal-
20919
+ # for-grounding.
20920
+ # Corresponds to the JSON property `laaFeatures`
20921
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeatures]
20922
+ attr_accessor :laa_features
20923
+
20565
20924
  # This feature is always false / no-op in serving time. In training time, this
20566
20925
  # feature may be set true on specific examples for weighted training where when
20567
20926
  # this signal is true, only cross-intent level features are used for training
@@ -20665,8 +21024,10 @@ module Google
20665
21024
  @binding_set_auis = args[:binding_set_auis] if args.key?(:binding_set_auis)
20666
21025
  @binding_set_pauis = args[:binding_set_pauis] if args.key?(:binding_set_pauis)
20667
21026
  @calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
21027
+ @deep_media_dominant = args[:deep_media_dominant] if args.key?(:deep_media_dominant)
20668
21028
  @dominant = args[:dominant] if args.key?(:dominant)
20669
21029
  @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
21030
+ @fulfillable_dominant_media = args[:fulfillable_dominant_media] if args.key?(:fulfillable_dominant_media)
20670
21031
  @groundability_score = args[:groundability_score] if args.key?(:groundability_score)
20671
21032
  @grounding_provider_features = args[:grounding_provider_features] if args.key?(:grounding_provider_features)
20672
21033
  @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)
@@ -20675,6 +21036,7 @@ module Google
20675
21036
  @intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
20676
21037
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
20677
21038
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
21039
+ @laa_features = args[:laa_features] if args.key?(:laa_features)
20678
21040
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
20679
21041
  @max_hgr_score_across_binding_sets = args[:max_hgr_score_across_binding_sets] if args.key?(:max_hgr_score_across_binding_sets)
20680
21042
  @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
@@ -22646,6 +23008,11 @@ module Google
22646
23008
  # @return [Array<String>]
22647
23009
  attr_accessor :services
22648
23010
 
23011
+ #
23012
+ # Corresponds to the JSON property `useCase`
23013
+ # @return [String]
23014
+ attr_accessor :use_case
23015
+
22649
23016
  def initialize(**args)
22650
23017
  update!(**args)
22651
23018
  end
@@ -22654,6 +23021,7 @@ module Google
22654
23021
  def update!(**args)
22655
23022
  @name = args[:name] if args.key?(:name)
22656
23023
  @services = args[:services] if args.key?(:services)
23024
+ @use_case = args[:use_case] if args.key?(:use_case)
22657
23025
  end
22658
23026
  end
22659
23027
 
@@ -23565,7 +23933,7 @@ module Google
23565
23933
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23566
23934
  # available tag deprecated, use this (and look for commented out fields): blaze-
23567
23935
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23568
- # perdocdata.proto Next tag: 219
23936
+ # perdocdata.proto Next tag: 220
23569
23937
  # Corresponds to the JSON property `perDocData`
23570
23938
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23571
23939
  attr_accessor :per_doc_data
@@ -23929,7 +24297,7 @@ module Google
23929
24297
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23930
24298
  # available tag deprecated, use this (and look for commented out fields): blaze-
23931
24299
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23932
- # perdocdata.proto Next tag: 219
24300
+ # perdocdata.proto Next tag: 220
23933
24301
  # Corresponds to the JSON property `perDocData`
23934
24302
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23935
24303
  attr_accessor :per_doc_data
@@ -26494,6 +26862,16 @@ module Google
26494
26862
  # @return [Google::Apis::ContentwarehouseV1::DrishtiQuantizedDenseFeatureData]
26495
26863
  attr_accessor :quantized
26496
26864
 
26865
+ # Proto message to store quantized dense feature data.
26866
+ # Corresponds to the JSON property `quantizedByteDense`
26867
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiQuantizedByteDenseFeatureData]
26868
+ attr_accessor :quantized_byte_dense
26869
+
26870
+ # Proto message to store quantized indexed feature data.
26871
+ # Corresponds to the JSON property `quantizedByteIndexed`
26872
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiQuantizedByteIndexedFeatureData]
26873
+ attr_accessor :quantized_byte_indexed
26874
+
26497
26875
  #
26498
26876
  # Corresponds to the JSON property `sparse`
26499
26877
  # @return [Google::Apis::ContentwarehouseV1::DrishtiSparseFeatureData]
@@ -26509,6 +26887,8 @@ module Google
26509
26887
  @indexed = args[:indexed] if args.key?(:indexed)
26510
26888
  @name = args[:name] if args.key?(:name)
26511
26889
  @quantized = args[:quantized] if args.key?(:quantized)
26890
+ @quantized_byte_dense = args[:quantized_byte_dense] if args.key?(:quantized_byte_dense)
26891
+ @quantized_byte_indexed = args[:quantized_byte_indexed] if args.key?(:quantized_byte_indexed)
26512
26892
  @sparse = args[:sparse] if args.key?(:sparse)
26513
26893
  end
26514
26894
  end
@@ -26674,6 +27054,76 @@ module Google
26674
27054
  end
26675
27055
  end
26676
27056
 
27057
+ # Proto message to store quantized dense feature data.
27058
+ class DrishtiQuantizedByteDenseFeatureData
27059
+ include Google::Apis::Core::Hashable
27060
+
27061
+ # If extra is present it must be of the same length as value.
27062
+ # Corresponds to the JSON property `extra`
27063
+ # @return [Array<Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra>]
27064
+ attr_accessor :extra
27065
+
27066
+ #
27067
+ # Corresponds to the JSON property `generalExtra`
27068
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra]
27069
+ attr_accessor :general_extra
27070
+
27071
+ # Quantized values for the feature.
27072
+ # Corresponds to the JSON property `value`
27073
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
27074
+ # @return [String]
27075
+ attr_accessor :value
27076
+
27077
+ def initialize(**args)
27078
+ update!(**args)
27079
+ end
27080
+
27081
+ # Update properties of this object
27082
+ def update!(**args)
27083
+ @extra = args[:extra] if args.key?(:extra)
27084
+ @general_extra = args[:general_extra] if args.key?(:general_extra)
27085
+ @value = args[:value] if args.key?(:value)
27086
+ end
27087
+ end
27088
+
27089
+ # Proto message to store quantized indexed feature data.
27090
+ class DrishtiQuantizedByteIndexedFeatureData
27091
+ include Google::Apis::Core::Hashable
27092
+
27093
+ # If extra is present it must be of the same length as value.
27094
+ # Corresponds to the JSON property `extra`
27095
+ # @return [Array<Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra>]
27096
+ attr_accessor :extra
27097
+
27098
+ #
27099
+ # Corresponds to the JSON property `generalExtra`
27100
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra]
27101
+ attr_accessor :general_extra
27102
+
27103
+ #
27104
+ # Corresponds to the JSON property `index`
27105
+ # @return [Array<Fixnum>]
27106
+ attr_accessor :index
27107
+
27108
+ # Quantized values for the feature.
27109
+ # Corresponds to the JSON property `value`
27110
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
27111
+ # @return [String]
27112
+ attr_accessor :value
27113
+
27114
+ def initialize(**args)
27115
+ update!(**args)
27116
+ end
27117
+
27118
+ # Update properties of this object
27119
+ def update!(**args)
27120
+ @extra = args[:extra] if args.key?(:extra)
27121
+ @general_extra = args[:general_extra] if args.key?(:general_extra)
27122
+ @index = args[:index] if args.key?(:index)
27123
+ @value = args[:value] if args.key?(:value)
27124
+ end
27125
+ end
27126
+
26677
27127
  #
26678
27128
  class DrishtiQuantizedDenseFeatureData
26679
27129
  include Google::Apis::Core::Hashable
@@ -27484,121 +27934,6 @@ module Google
27484
27934
  end
27485
27935
  end
27486
27936
 
27487
- # Output of the classifier.
27488
- class EntitySignalsClassificationOutput
27489
- include Google::Apis::Core::Hashable
27490
-
27491
- # Filled if used logistic regression (see ewok.proto for available labels).
27492
- # Corresponds to the JSON property `labels`
27493
- # @return [Array<Google::Apis::ContentwarehouseV1::EntitySignalsWeightedRelevanceRating>]
27494
- attr_accessor :labels
27495
-
27496
- # If using linear regression, this is the output value of the regression. If
27497
- # using logistic regression, this is the weighted aggregated rating. See http://
27498
- # go/entitymetric
27499
- # Corresponds to the JSON property `relevanceScore`
27500
- # @return [Float]
27501
- attr_accessor :relevance_score
27502
-
27503
- def initialize(**args)
27504
- update!(**args)
27505
- end
27506
-
27507
- # Update properties of this object
27508
- def update!(**args)
27509
- @labels = args[:labels] if args.key?(:labels)
27510
- @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
27511
- end
27512
- end
27513
-
27514
- # Collection of input, extracted features and classification output.
27515
- class EntitySignalsEntityClassification
27516
- include Google::Apis::Core::Hashable
27517
-
27518
- # Entity id.
27519
- # Corresponds to the JSON property `entityId`
27520
- # @return [String]
27521
- attr_accessor :entity_id
27522
-
27523
- # Input features used in classification.
27524
- # Corresponds to the JSON property `features`
27525
- # @return [Array<Google::Apis::ContentwarehouseV1::EntitySignalsEntityFeature>]
27526
- attr_accessor :features
27527
-
27528
- # Output of the classifier.
27529
- # Corresponds to the JSON property `output`
27530
- # @return [Google::Apis::ContentwarehouseV1::EntitySignalsClassificationOutput]
27531
- attr_accessor :output
27532
-
27533
- def initialize(**args)
27534
- update!(**args)
27535
- end
27536
-
27537
- # Update properties of this object
27538
- def update!(**args)
27539
- @entity_id = args[:entity_id] if args.key?(:entity_id)
27540
- @features = args[:features] if args.key?(:features)
27541
- @output = args[:output] if args.key?(:output)
27542
- end
27543
- end
27544
-
27545
- #
27546
- class EntitySignalsEntityFeature
27547
- include Google::Apis::Core::Hashable
27548
-
27549
- #
27550
- # Corresponds to the JSON property `code`
27551
- # @return [String]
27552
- attr_accessor :code
27553
-
27554
- # Name of the feature. For a completely list of available features, please check
27555
- # http://go/entityclassifierfeatures
27556
- # Corresponds to the JSON property `name`
27557
- # @return [String]
27558
- attr_accessor :name
27559
-
27560
- # Value of the feature.
27561
- # Corresponds to the JSON property `value`
27562
- # @return [Float]
27563
- attr_accessor :value
27564
-
27565
- def initialize(**args)
27566
- update!(**args)
27567
- end
27568
-
27569
- # Update properties of this object
27570
- def update!(**args)
27571
- @code = args[:code] if args.key?(:code)
27572
- @name = args[:name] if args.key?(:name)
27573
- @value = args[:value] if args.key?(:value)
27574
- end
27575
- end
27576
-
27577
- #
27578
- class EntitySignalsWeightedRelevanceRating
27579
- include Google::Apis::Core::Hashable
27580
-
27581
- #
27582
- # Corresponds to the JSON property `rating`
27583
- # @return [String]
27584
- attr_accessor :rating
27585
-
27586
- #
27587
- # Corresponds to the JSON property `weight`
27588
- # @return [Float]
27589
- attr_accessor :weight
27590
-
27591
- def initialize(**args)
27592
- update!(**args)
27593
- end
27594
-
27595
- # Update properties of this object
27596
- def update!(**args)
27597
- @rating = args[:rating] if args.key?(:rating)
27598
- @weight = args[:weight] if args.key?(:weight)
27599
- end
27600
- end
27601
-
27602
27937
  # An EventId is a 128 bit identifier that uniquely identifies an event, such as
27603
27938
  # a query. The event time recorded to the nearest microsecond, along with
27604
27939
  # information about the process generating the event, ensures that all EventIds
@@ -29051,7 +29386,7 @@ module Google
29051
29386
  # @return [Fixnum]
29052
29387
  attr_accessor :content_length
29053
29388
 
29054
- # See enum ContentType in webutil/http/content-type.proto.
29389
+ # See enum ContentType in //depot/google3/webutil/http/content-type.proto.
29055
29390
  # Corresponds to the JSON property `ContentType`
29056
29391
  # @return [Fixnum]
29057
29392
  attr_accessor :content_type
@@ -32246,11 +32581,10 @@ module Google
32246
32581
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
32247
32582
  attr_accessor :id
32248
32583
 
32249
- # The inferred geometry of a feature contains all the features which, together,
32250
- # define the geometry of a feature. This happens by: 1. Taking the union of all
32251
- # polygons of features referenced in "includes_geometry_of". 2. Subtract the
32252
- # geometries of all the features referenced in "excludes_geometry_of". See: go/
32253
- # inferred-geometry for more information.
32584
+ # Inferred geometry defines the geometry of a feature through the geometry of
32585
+ # other features. For instance, the geometry of a timezone can be specified as
32586
+ # the union of all the countries it applies to. See: go/inferred-geometry and go/
32587
+ # geo-schema:composite-geometry-editor for more details.
32254
32588
  # Corresponds to the JSON property `inferredGeometry`
32255
32589
  # @return [Google::Apis::ContentwarehouseV1::GeostoreInferredGeometryProto]
32256
32590
  attr_accessor :inferred_geometry
@@ -33251,6 +33585,36 @@ module Google
33251
33585
  end
33252
33586
  end
33253
33587
 
33588
+ # Encapsulates all the features which, together, define the geometry of a
33589
+ # feature. This happens by: 1. taking the union of all polygons of features
33590
+ # referenced in includes_geometry_of 2. subtracting the polygons of all the
33591
+ # features referenced in excludes_geometry_of
33592
+ class GeostoreGeometryComposition
33593
+ include Google::Apis::Core::Hashable
33594
+
33595
+ # Features whose geometry to exclude while composing the geometry of this
33596
+ # feature.
33597
+ # Corresponds to the JSON property `excludesGeometryOf`
33598
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
33599
+ attr_accessor :excludes_geometry_of
33600
+
33601
+ # Features whose geometry to include while composing the geometry of this
33602
+ # feature.
33603
+ # Corresponds to the JSON property `includesGeometryOf`
33604
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
33605
+ attr_accessor :includes_geometry_of
33606
+
33607
+ def initialize(**args)
33608
+ update!(**args)
33609
+ end
33610
+
33611
+ # Update properties of this object
33612
+ def update!(**args)
33613
+ @excludes_geometry_of = args[:excludes_geometry_of] if args.key?(:excludes_geometry_of)
33614
+ @includes_geometry_of = args[:includes_geometry_of] if args.key?(:includes_geometry_of)
33615
+ end
33616
+ end
33617
+
33254
33618
  # Geopolitical (unsimplified) polygons for a feature for different geopolitical
33255
33619
  # use cases. See go/unsimplified-poly.
33256
33620
  class GeostoreGeopoliticalGeometryProto
@@ -33362,11 +33726,10 @@ module Google
33362
33726
  end
33363
33727
  end
33364
33728
 
33365
- # The inferred geometry of a feature contains all the features which, together,
33366
- # define the geometry of a feature. This happens by: 1. Taking the union of all
33367
- # polygons of features referenced in "includes_geometry_of". 2. Subtract the
33368
- # geometries of all the features referenced in "excludes_geometry_of". See: go/
33369
- # inferred-geometry for more information.
33729
+ # Inferred geometry defines the geometry of a feature through the geometry of
33730
+ # other features. For instance, the geometry of a timezone can be specified as
33731
+ # the union of all the countries it applies to. See: go/inferred-geometry and go/
33732
+ # geo-schema:composite-geometry-editor for more details.
33370
33733
  class GeostoreInferredGeometryProto
33371
33734
  include Google::Apis::Core::Hashable
33372
33735
 
@@ -33375,15 +33738,13 @@ module Google
33375
33738
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
33376
33739
  attr_accessor :defines_geometry_for
33377
33740
 
33378
- # Features whose geometry to exclude while inferring geometry.
33379
- # Corresponds to the JSON property `excludesGeometryOf`
33380
- # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
33381
- attr_accessor :excludes_geometry_of
33382
-
33383
- # Features whose geometry to include while inferring geometry.
33384
- # Corresponds to the JSON property `includesGeometryOf`
33385
- # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
33386
- attr_accessor :includes_geometry_of
33741
+ # Encapsulates all the features which, together, define the geometry of a
33742
+ # feature. This happens by: 1. taking the union of all polygons of features
33743
+ # referenced in includes_geometry_of 2. subtracting the polygons of all the
33744
+ # features referenced in excludes_geometry_of
33745
+ # Corresponds to the JSON property `geometryComposition`
33746
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreGeometryComposition]
33747
+ attr_accessor :geometry_composition
33387
33748
 
33388
33749
  def initialize(**args)
33389
33750
  update!(**args)
@@ -33392,8 +33753,7 @@ module Google
33392
33753
  # Update properties of this object
33393
33754
  def update!(**args)
33394
33755
  @defines_geometry_for = args[:defines_geometry_for] if args.key?(:defines_geometry_for)
33395
- @excludes_geometry_of = args[:excludes_geometry_of] if args.key?(:excludes_geometry_of)
33396
- @includes_geometry_of = args[:includes_geometry_of] if args.key?(:includes_geometry_of)
33756
+ @geometry_composition = args[:geometry_composition] if args.key?(:geometry_composition)
33397
33757
  end
33398
33758
  end
33399
33759
 
@@ -42989,6 +43349,39 @@ module Google
42989
43349
  end
42990
43350
  end
42991
43351
 
43352
+ # The configuration of exporting documents from the Document Warehouse to CDW
43353
+ # pipeline.
43354
+ class GoogleCloudContentwarehouseV1ExportToCdwPipeline
43355
+ include Google::Apis::Core::Hashable
43356
+
43357
+ # The list of all the documents to be processed.
43358
+ # Corresponds to the JSON property `documentIds`
43359
+ # @return [Array<String>]
43360
+ attr_accessor :document_ids
43361
+
43362
+ # The Cloud Storage folder path used to store the exported documents before
43363
+ # being sent to CDW. Format: gs:///.
43364
+ # Corresponds to the JSON property `exportFolderPath`
43365
+ # @return [String]
43366
+ attr_accessor :export_folder_path
43367
+
43368
+ # The DocAI processor information.
43369
+ # Corresponds to the JSON property `processorInfo`
43370
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
43371
+ attr_accessor :processor_info
43372
+
43373
+ def initialize(**args)
43374
+ update!(**args)
43375
+ end
43376
+
43377
+ # Update properties of this object
43378
+ def update!(**args)
43379
+ @document_ids = args[:document_ids] if args.key?(:document_ids)
43380
+ @export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
43381
+ @processor_info = args[:processor_info] if args.key?(:processor_info)
43382
+ end
43383
+ end
43384
+
42992
43385
  # Request message for DocumentService.FetchAcl
42993
43386
  class GoogleCloudContentwarehouseV1FetchAclRequest
42994
43387
  include Google::Apis::Core::Hashable
@@ -43118,6 +43511,74 @@ module Google
43118
43511
  end
43119
43512
  end
43120
43513
 
43514
+ # The configuration of the Cloud Storage ingestion pipeline.
43515
+ class GoogleCloudContentwarehouseV1GcsIngestPipeline
43516
+ include Google::Apis::Core::Hashable
43517
+
43518
+ # The input Cloud Storage folder. All files under this folder will be imported
43519
+ # to Document Warehouse. Format: gs:///.
43520
+ # Corresponds to the JSON property `inputPath`
43521
+ # @return [String]
43522
+ attr_accessor :input_path
43523
+
43524
+ # The Document Warehouse schema resource name. All documents processed by this
43525
+ # pipeline will use this schema. Format: projects/`project_number`/locations/`
43526
+ # location`/documentSchemas/`document_schema_id`.
43527
+ # Corresponds to the JSON property `schemaName`
43528
+ # @return [String]
43529
+ attr_accessor :schema_name
43530
+
43531
+ def initialize(**args)
43532
+ update!(**args)
43533
+ end
43534
+
43535
+ # Update properties of this object
43536
+ def update!(**args)
43537
+ @input_path = args[:input_path] if args.key?(:input_path)
43538
+ @schema_name = args[:schema_name] if args.key?(:schema_name)
43539
+ end
43540
+ end
43541
+
43542
+ # The configuration of the document classify/split and entity/kvp extraction
43543
+ # pipeline.
43544
+ class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
43545
+ include Google::Apis::Core::Hashable
43546
+
43547
+ # The DocAI processor information.
43548
+ # Corresponds to the JSON property `classifySplitProcessorInfos`
43549
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
43550
+ attr_accessor :classify_split_processor_infos
43551
+
43552
+ # The entity or key-value pair extracting processor information.
43553
+ # Corresponds to the JSON property `extractProcessorInfos`
43554
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo>]
43555
+ attr_accessor :extract_processor_infos
43556
+
43557
+ # The input Cloud Storage folder. All files under this folder will be imported
43558
+ # to Document Warehouse. Format: gs:///.
43559
+ # Corresponds to the JSON property `inputPath`
43560
+ # @return [String]
43561
+ attr_accessor :input_path
43562
+
43563
+ # The Cloud Storage folder path used to store the raw results from processors.
43564
+ # Format: gs:///.
43565
+ # Corresponds to the JSON property `processorResultsFolderPath`
43566
+ # @return [String]
43567
+ attr_accessor :processor_results_folder_path
43568
+
43569
+ def initialize(**args)
43570
+ update!(**args)
43571
+ end
43572
+
43573
+ # Update properties of this object
43574
+ def update!(**args)
43575
+ @classify_split_processor_infos = args[:classify_split_processor_infos] if args.key?(:classify_split_processor_infos)
43576
+ @extract_processor_infos = args[:extract_processor_infos] if args.key?(:extract_processor_infos)
43577
+ @input_path = args[:input_path] if args.key?(:input_path)
43578
+ @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
43579
+ end
43580
+ end
43581
+
43121
43582
  # Request message for DocumentService.GetDocument.
43122
43583
  class GoogleCloudContentwarehouseV1GetDocumentRequest
43123
43584
  include Google::Apis::Core::Hashable
@@ -43618,6 +44079,41 @@ module Google
43618
44079
  end
43619
44080
  end
43620
44081
 
44082
+ # The DocAI processor information.
44083
+ class GoogleCloudContentwarehouseV1ProcessorInfo
44084
+ include Google::Apis::Core::Hashable
44085
+
44086
+ # The processor will process the documents with this document type.
44087
+ # Corresponds to the JSON property `documentType`
44088
+ # @return [String]
44089
+ attr_accessor :document_type
44090
+
44091
+ # The processor resource name. Format is `projects/`project`/locations/`location`
44092
+ # /processors/`processor``, or `projects/`project`/locations/`location`/
44093
+ # processors/`processor`/processorVersions/`processorVersion``
44094
+ # Corresponds to the JSON property `processorName`
44095
+ # @return [String]
44096
+ attr_accessor :processor_name
44097
+
44098
+ # The Document schema resource name. All documents processed by this processor
44099
+ # will use this schema. Format: projects/`project_number`/locations/`location`/
44100
+ # documentSchemas/`document_schema_id`.
44101
+ # Corresponds to the JSON property `schemaName`
44102
+ # @return [String]
44103
+ attr_accessor :schema_name
44104
+
44105
+ def initialize(**args)
44106
+ update!(**args)
44107
+ end
44108
+
44109
+ # Update properties of this object
44110
+ def update!(**args)
44111
+ @document_type = args[:document_type] if args.key?(:document_type)
44112
+ @processor_name = args[:processor_name] if args.key?(:processor_name)
44113
+ @schema_name = args[:schema_name] if args.key?(:schema_name)
44114
+ end
44115
+ end
44116
+
43621
44117
  # Property of a document.
43622
44118
  class GoogleCloudContentwarehouseV1Property
43623
44119
  include Google::Apis::Core::Hashable
@@ -43791,6 +44287,11 @@ module Google
43791
44287
  # @return [String]
43792
44288
  attr_accessor :retrieval_importance
43793
44289
 
44290
+ # The mapping information between this property to another schema source.
44291
+ # Corresponds to the JSON property `schemaSources`
44292
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource>]
44293
+ attr_accessor :schema_sources
44294
+
43794
44295
  # Configurations for a text property.
43795
44296
  # Corresponds to the JSON property `textTypeOptions`
43796
44297
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TextTypeOptions]
@@ -43821,11 +44322,37 @@ module Google
43821
44322
  @name = args[:name] if args.key?(:name)
43822
44323
  @property_type_options = args[:property_type_options] if args.key?(:property_type_options)
43823
44324
  @retrieval_importance = args[:retrieval_importance] if args.key?(:retrieval_importance)
44325
+ @schema_sources = args[:schema_sources] if args.key?(:schema_sources)
43824
44326
  @text_type_options = args[:text_type_options] if args.key?(:text_type_options)
43825
44327
  @timestamp_type_options = args[:timestamp_type_options] if args.key?(:timestamp_type_options)
43826
44328
  end
43827
44329
  end
43828
44330
 
44331
+ # The schema source information.
44332
+ class GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource
44333
+ include Google::Apis::Core::Hashable
44334
+
44335
+ # The schema name in the source.
44336
+ # Corresponds to the JSON property `name`
44337
+ # @return [String]
44338
+ attr_accessor :name
44339
+
44340
+ # The Doc AI processor type name.
44341
+ # Corresponds to the JSON property `processorType`
44342
+ # @return [String]
44343
+ attr_accessor :processor_type
44344
+
44345
+ def initialize(**args)
44346
+ update!(**args)
44347
+ end
44348
+
44349
+ # Update properties of this object
44350
+ def update!(**args)
44351
+ @name = args[:name] if args.key?(:name)
44352
+ @processor_type = args[:processor_type] if args.key?(:processor_type)
44353
+ end
44354
+ end
44355
+
43829
44356
  #
43830
44357
  class GoogleCloudContentwarehouseV1PropertyFilter
43831
44358
  include Google::Apis::Core::Hashable
@@ -44208,6 +44735,39 @@ module Google
44208
44735
  end
44209
44736
  end
44210
44737
 
44738
+ # Request message for DocumentService.RunPipeline.
44739
+ class GoogleCloudContentwarehouseV1RunPipelineRequest
44740
+ include Google::Apis::Core::Hashable
44741
+
44742
+ # The configuration of exporting documents from the Document Warehouse to CDW
44743
+ # pipeline.
44744
+ # Corresponds to the JSON property `exportCdwPipeline`
44745
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline]
44746
+ attr_accessor :export_cdw_pipeline
44747
+
44748
+ # The configuration of the Cloud Storage ingestion pipeline.
44749
+ # Corresponds to the JSON property `gcsIngestPipeline`
44750
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline]
44751
+ attr_accessor :gcs_ingest_pipeline
44752
+
44753
+ # The configuration of the document classify/split and entity/kvp extraction
44754
+ # pipeline.
44755
+ # Corresponds to the JSON property `gcsIngestWithDocAiProcessorsPipeline`
44756
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline]
44757
+ attr_accessor :gcs_ingest_with_doc_ai_processors_pipeline
44758
+
44759
+ def initialize(**args)
44760
+ update!(**args)
44761
+ end
44762
+
44763
+ # Update properties of this object
44764
+ def update!(**args)
44765
+ @export_cdw_pipeline = args[:export_cdw_pipeline] if args.key?(:export_cdw_pipeline)
44766
+ @gcs_ingest_pipeline = args[:gcs_ingest_pipeline] if args.key?(:gcs_ingest_pipeline)
44767
+ @gcs_ingest_with_doc_ai_processors_pipeline = args[:gcs_ingest_with_doc_ai_processors_pipeline] if args.key?(:gcs_ingest_with_doc_ai_processors_pipeline)
44768
+ end
44769
+ end
44770
+
44211
44771
  # Request message for DocumentService.SearchDocuments.
44212
44772
  class GoogleCloudContentwarehouseV1SearchDocumentsRequest
44213
44773
  include Google::Apis::Core::Hashable
@@ -46313,7 +46873,8 @@ module Google
46313
46873
  # @return [String]
46314
46874
  attr_accessor :agent
46315
46875
 
46316
- # The time that the revision was created.
46876
+ # The time that the revision was created, internally generated by doc proto
46877
+ # storage at the time of create.
46317
46878
  # Corresponds to the JSON property `createTime`
46318
46879
  # @return [String]
46319
46880
  attr_accessor :create_time
@@ -46323,7 +46884,8 @@ module Google
46323
46884
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentRevisionHumanReview]
46324
46885
  attr_accessor :human_review
46325
46886
 
46326
- # Id of the revision. Unique within the context of the document.
46887
+ # Id of the revision, internally generated by doc proto storage. Unique within
46888
+ # the context of the document.
46327
46889
  # Corresponds to the JSON property `id`
46328
46890
  # @return [String]
46329
46891
  attr_accessor :id
@@ -46847,22 +47409,22 @@ module Google
46847
47409
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
46848
47410
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
46849
47411
  # email address that represents a Google group. For example, `admins@example.com`
46850
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
46851
- # identifier) representing a user that has been recently deleted. For example, `
46852
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
46853
- # value reverts to `user:`emailid`` and the recovered user retains the role in
46854
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
46855
- # address (plus unique identifier) representing a service account that has been
46856
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
47412
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
47413
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
47414
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
47415
+ # representing a user that has been recently deleted. For example, `alice@
47416
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
47417
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
47418
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
47419
+ # (plus unique identifier) representing a service account that has been recently
47420
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
46857
47421
  # 123456789012345678901`. If the service account is undeleted, this value
46858
47422
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
46859
47423
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
46860
47424
  # An email address (plus unique identifier) representing a Google group that has
46861
47425
  # been recently deleted. For example, `admins@example.com?uid=
46862
47426
  # 123456789012345678901`. If the group is recovered, this value reverts to `
46863
- # group:`emailid`` and the recovered group retains the role in the binding. * `
46864
- # domain:`domain``: The G Suite domain (primary) that represents all the users
46865
- # of that domain. For example, `google.com` or `example.com`.
47427
+ # group:`emailid`` and the recovered group retains the role in the binding.
46866
47428
  # Corresponds to the JSON property `members`
46867
47429
  # @return [Array<String>]
46868
47430
  attr_accessor :members
@@ -47019,16 +47581,15 @@ module Google
47019
47581
  class GoogleInternalAppsWaldoV1alphaCalendarBusy
47020
47582
  include Google::Apis::Core::Hashable
47021
47583
 
47022
- # The time when the user will stop being committed, i.e., when their status will
47023
- # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that the
47584
+ # The time when the user will either stop being committed or change commitment
47585
+ # type (i.e. InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh). Note that the
47024
47586
  # goal of this field is to provide information to help users decide how to
47025
47587
  # communicate with a user (see also http://shortn/_wXYXtZScgh).
47026
47588
  # Corresponds to the JSON property `committedUntil`
47027
47589
  # @return [String]
47028
47590
  attr_accessor :committed_until
47029
47591
 
47030
- # Whether the status of the user from this status's start to committed_until has
47031
- # more than one status type (e.g. DoNotDisturb + InMeeting).
47592
+ # TODO(b/265939748) To be removed, always false from User Status Service.
47032
47593
  # Corresponds to the JSON property `committedUntilIsMixed`
47033
47594
  # @return [Boolean]
47034
47595
  attr_accessor :committed_until_is_mixed
@@ -47104,14 +47665,15 @@ module Google
47104
47665
  class GoogleInternalAppsWaldoV1alphaDoNotDisturb
47105
47666
  include Google::Apis::Core::Hashable
47106
47667
 
47107
- # The time when the user will stop being committed, i.e., when their status will
47108
- # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh.
47668
+ # The time when the user will either stop being committed or change commitment
47669
+ # type (i.e. InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh). Note that the
47670
+ # goal of this field is to provide information to help users decide how to
47671
+ # communicate with a user (see also http://shortn/_wXYXtZScgh).
47109
47672
  # Corresponds to the JSON property `committedUntil`
47110
47673
  # @return [String]
47111
47674
  attr_accessor :committed_until
47112
47675
 
47113
- # Whether the status of the user from this status's start to committed_until has
47114
- # more than one status type (e.g. DoNotDisturb + InMeeting).
47676
+ # TODO(b/265939748) To be removed, always false from User Status Service.
47115
47677
  # Corresponds to the JSON property `committedUntilIsMixed`
47116
47678
  # @return [Boolean]
47117
47679
  attr_accessor :committed_until_is_mixed
@@ -47160,16 +47722,15 @@ module Google
47160
47722
  class GoogleInternalAppsWaldoV1alphaInMeeting
47161
47723
  include Google::Apis::Core::Hashable
47162
47724
 
47163
- # The time when the user will stop being committed, i.e., when their status will
47164
- # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that the
47725
+ # The time when the user will either stop being committed or change commitment
47726
+ # type (i.e. InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh). Note that the
47165
47727
  # goal of this field is to provide information to help users decide how to
47166
47728
  # communicate with a user (see also http://shortn/_wXYXtZScgh).
47167
47729
  # Corresponds to the JSON property `committedUntil`
47168
47730
  # @return [String]
47169
47731
  attr_accessor :committed_until
47170
47732
 
47171
- # Whether the status of the user from this status's start to committed_until has
47172
- # more than one status type (e.g. DoNotDisturb + InMeeting).
47733
+ # TODO(b/265939748) To be removed, always false from User Status Service.
47173
47734
  # Corresponds to the JSON property `committedUntilIsMixed`
47174
47735
  # @return [Boolean]
47175
47736
  attr_accessor :committed_until_is_mixed
@@ -47293,16 +47854,16 @@ module Google
47293
47854
  # @return [String]
47294
47855
  attr_accessor :come_back_time
47295
47856
 
47296
- # The time when the user will stop being committed, i.e., when their status will
47297
- # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that if
47857
+ # The time when the user will either stop being committed or change commitment
47858
+ # type (i.e. InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh). Note that the
47859
+ # goal of this field is to provide information to help users decide how to
47860
+ # communicate with a user (see also http://shortn/_wXYXtZScgh). Note that if
47298
47861
  # this OOO block is large (>=Xh), committed_until is not set.
47299
47862
  # Corresponds to the JSON property `committedUntil`
47300
47863
  # @return [String]
47301
47864
  attr_accessor :committed_until
47302
47865
 
47303
- # Whether the status of the user from this status's start to committed_until has
47304
- # more than one status type (e.g. DoNotDisturb + InMeeting). Only set if
47305
- # committed_until is set.
47866
+ # TODO(b/265939748) To be removed, always false from User Status Service.
47306
47867
  # Corresponds to the JSON property `committedUntilIsMixed`
47307
47868
  # @return [Boolean]
47308
47869
  attr_accessor :committed_until_is_mixed
@@ -51071,7 +51632,7 @@ module Google
51071
51632
 
51072
51633
  # This defines the per-doc data which is extracted from thumbnails and
51073
51634
  # propagated over to indexing. It contains all information that can be used for
51074
- # restricts. Next tag id: 128
51635
+ # restricts. Next tag id: 129
51075
51636
  class ImageData
51076
51637
  include Google::Apis::Core::Hashable
51077
51638
 
@@ -51132,6 +51693,12 @@ module Google
51132
51693
  # @return [Fixnum]
51133
51694
  attr_accessor :clipart_detector_version
51134
51695
 
51696
+ # Superlabels generated cluster id.
51697
+ # Corresponds to the JSON property `clusterId`
51698
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
51699
+ # @return [String]
51700
+ attr_accessor :cluster_id
51701
+
51135
51702
  # Like is_visible, this is a property of the (web-doc, img_url) pair not just
51136
51703
  # the image. A high codomain_strength indicates high confidence based on
51137
51704
  # collected stats that the image is hosted on a companion domain. If not enough
@@ -51639,6 +52206,7 @@ module Google
51639
52206
  @click_magnet_score = args[:click_magnet_score] if args.key?(:click_magnet_score)
51640
52207
  @clipart_detector_score = args[:clipart_detector_score] if args.key?(:clipart_detector_score)
51641
52208
  @clipart_detector_version = args[:clipart_detector_version] if args.key?(:clipart_detector_version)
52209
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
51642
52210
  @codomain_strength = args[:codomain_strength] if args.key?(:codomain_strength)
51643
52211
  @color_score = args[:color_score] if args.key?(:color_score)
51644
52212
  @color_score_version = args[:color_score_version] if args.key?(:color_score_version)
@@ -53338,7 +53906,7 @@ module Google
53338
53906
 
53339
53907
  # This defines the per-doc data which is extracted from thumbnails and
53340
53908
  # propagated over to indexing. It contains all information that can be used for
53341
- # restricts. Next tag id: 128
53909
+ # restricts. Next tag id: 129
53342
53910
  # Corresponds to the JSON property `representativeFrameData`
53343
53911
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
53344
53912
  attr_accessor :representative_frame_data
@@ -53679,7 +54247,7 @@ module Google
53679
54247
 
53680
54248
  # This defines the per-doc data which is extracted from thumbnails and
53681
54249
  # propagated over to indexing. It contains all information that can be used for
53682
- # restricts. Next tag id: 128
54250
+ # restricts. Next tag id: 129
53683
54251
  # Corresponds to the JSON property `perdoc`
53684
54252
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
53685
54253
  attr_accessor :perdoc
@@ -59298,6 +59866,26 @@ module Google
59298
59866
  end
59299
59867
  end
59300
59868
 
59869
+ # This proto captures the output of analyses that ran on Automatic Speech
59870
+ # Recogntion produced by the recognizer.
59871
+ class IndexingVideosAsrTranscriptRepairAnnotation
59872
+ include Google::Apis::Core::Hashable
59873
+
59874
+ #
59875
+ # Corresponds to the JSON property `gibberishResult`
59876
+ # @return [String]
59877
+ attr_accessor :gibberish_result
59878
+
59879
+ def initialize(**args)
59880
+ update!(**args)
59881
+ end
59882
+
59883
+ # Update properties of this object
59884
+ def update!(**args)
59885
+ @gibberish_result = args[:gibberish_result] if args.key?(:gibberish_result)
59886
+ end
59887
+ end
59888
+
59301
59889
  #
59302
59890
  class KaltixPerDocData
59303
59891
  include Google::Apis::Core::Hashable
@@ -61748,7 +62336,7 @@ module Google
61748
62336
  # anything that they need to propagate down stream from AQUA. Note that this
61749
62337
  # proto is not the same as the Superroot proto ParsingSignals (http://google3/
61750
62338
  # knowledge/proto/scoring-signals.proto), which is a Superroot-specific signal
61751
- # used in Scoring. Next ID: 5
62339
+ # used in Scoring. Next ID: 7
61752
62340
  # Corresponds to the JSON property `parsingSignals`
61753
62341
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryParsingSignals]
61754
62342
  attr_accessor :parsing_signals
@@ -61761,7 +62349,7 @@ module Google
61761
62349
 
61762
62350
  # Signals to be used by the Prefulfillment Ranker. Derived from the
61763
62351
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
61764
- # Next ID: 36
62352
+ # Next ID: 39
61765
62353
  # Corresponds to the JSON property `prefulfillmentSignals`
61766
62354
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
61767
62355
  attr_accessor :prefulfillment_signals
@@ -62312,7 +62900,7 @@ module Google
62312
62900
  # anything that they need to propagate down stream from AQUA. Note that this
62313
62901
  # proto is not the same as the Superroot proto ParsingSignals (http://google3/
62314
62902
  # knowledge/proto/scoring-signals.proto), which is a Superroot-specific signal
62315
- # used in Scoring. Next ID: 5
62903
+ # used in Scoring. Next ID: 7
62316
62904
  class KnowledgeAnswersIntentQueryParsingSignals
62317
62905
  include Google::Apis::Core::Hashable
62318
62906
 
@@ -62322,6 +62910,21 @@ module Google
62322
62910
  # @return [Float]
62323
62911
  attr_accessor :calibrated_parsing_score
62324
62912
 
62913
+ # The total effective length of the spans for the arguments used to construct
62914
+ # the parse. May include vertical specific adjustments. Eg: For the query [
62915
+ # delete my 7 p.m. alarm called chicken] and intent Delete_alarm(alarm_object=RD(
62916
+ # category=AlarmObject( label="chicken", trigger_time_datetime=<< 7 PM >>))),
62917
+ # the effective argument span is "7 p.m." + "chicken" (total length of 13).
62918
+ # Corresponds to the JSON property `effectiveArgSpanLength`
62919
+ # @return [Float]
62920
+ attr_accessor :effective_arg_span_length
62921
+
62922
+ # This is a cross-intent feature which is calculated by iterating all intent
62923
+ # candidates. This feature should be populated in post-IG stage (before GB).
62924
+ # Corresponds to the JSON property `inQueryMaxEffectiveArgSpanLength`
62925
+ # @return [Float]
62926
+ attr_accessor :in_query_max_effective_arg_span_length
62927
+
62325
62928
  # The proto that holds the complete call path info of the QRewrite client (e.g.
62326
62929
  # the QUS's phase like "RBT","QBT"; the QUS's candidate type like "Identity";
62327
62930
  # and the ACE's candidate type like "FuzzyMatcher"). Next ID: 5 ACE tags
@@ -62348,6 +62951,8 @@ module Google
62348
62951
  # Update properties of this object
62349
62952
  def update!(**args)
62350
62953
  @calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
62954
+ @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
62955
+ @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)
62351
62956
  @qrewrite_call_path_info = args[:qrewrite_call_path_info] if args.key?(:qrewrite_call_path_info)
62352
62957
  @qrewrite_call_path_info_fingerprint = args[:qrewrite_call_path_info_fingerprint] if args.key?(:qrewrite_call_path_info_fingerprint)
62353
62958
  @source = args[:source] if args.key?(:source)
@@ -64015,6 +64620,20 @@ module Google
64015
64620
  class KnowledgeAnswersSemanticType
64016
64621
  include Google::Apis::Core::Hashable
64017
64622
 
64623
+ # If true, is compatible with a schema whose answer_type is any semantic_type
64624
+ # including empty (since by default schemas return themselves as semantic_types (
64625
+ # b/211438997). This is used primarily for slot composition. Example: for the
64626
+ # slot name: Operand type ` semantic_type ` allow_all: true ` entity_type `` ` *
64627
+ # An entity_type or a schema with answer_type 'entity_type' can fill Operand. *
64628
+ # A schema with either (a) no answer_type or (b) answer_type with !semantic_type.
64629
+ # names().empty() can fill Operand * A schema with answer_type 'date' CAN NOT
64630
+ # fill Operand. Note that when there is an explicit answer_type, the 'self'
64631
+ # semantic_type is not considered.
64632
+ # Corresponds to the JSON property `allowAll`
64633
+ # @return [Boolean]
64634
+ attr_accessor :allow_all
64635
+ alias_method :allow_all?, :allow_all
64636
+
64018
64637
  # Determines whether or not the meaning schema that contains this semantic_type
64019
64638
  # conforms to a function call with the name and arguments taken from the meaning
64020
64639
  # schema. As it refers to the "containing_intent", this field should only be set
@@ -64063,6 +64682,7 @@ module Google
64063
64682
 
64064
64683
  # Update properties of this object
64065
64684
  def update!(**args)
64685
+ @allow_all = args[:allow_all] if args.key?(:allow_all)
64066
64686
  @includes_containing_intent = args[:includes_containing_intent] if args.key?(:includes_containing_intent)
64067
64687
  @name = args[:name] if args.key?(:name)
64068
64688
  @name_remodelings = args[:name_remodelings] if args.key?(:name_remodelings)
@@ -64691,8 +65311,8 @@ module Google
64691
65311
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersDateType]
64692
65312
  attr_accessor :date_type
64693
65313
 
64694
- # Work in progress: Used for configuring dynamic types to allow for type
64695
- # transparency. See: go/type-dependencies
65314
+ # Used for configuring dynamic types to allow for type transparency. See: go/
65315
+ # type-dependencies
64696
65316
  # Corresponds to the JSON property `dependencyType`
64697
65317
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersDependencyType]
64698
65318
  attr_accessor :dependency_type
@@ -64789,12 +65409,6 @@ module Google
64789
65409
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersSemanticType]
64790
65410
  attr_accessor :semantic_type
64791
65411
 
64792
- # DEPRECATED: see go/type-dependencies. Please reach out to suwu@, dqwang@ if
64793
- # usage is required.
64794
- # Corresponds to the JSON property `slotName`
64795
- # @return [String]
64796
- attr_accessor :slot_name
64797
-
64798
65412
  # A special type representing a StateOfAffairs. Currently (as of 2021Q2) this is
64799
65413
  # duplicative with semantic_type ` name: "StateOfAffairs" ` but we (mrf-team)
64800
65414
  # will encourage clients to migrate to this new type.
@@ -64850,7 +65464,6 @@ module Google
64850
65464
  @plurality_type = args[:plurality_type] if args.key?(:plurality_type)
64851
65465
  @polar_question_type = args[:polar_question_type] if args.key?(:polar_question_type)
64852
65466
  @semantic_type = args[:semantic_type] if args.key?(:semantic_type)
64853
- @slot_name = args[:slot_name] if args.key?(:slot_name)
64854
65467
  @state_of_affairs_type = args[:state_of_affairs_type] if args.key?(:state_of_affairs_type)
64855
65468
  @string_type = args[:string_type] if args.key?(:string_type)
64856
65469
  @timezone_type = args[:timezone_type] if args.key?(:timezone_type)
@@ -82572,7 +83185,7 @@ module Google
82572
83185
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
82573
83186
  # available tag deprecated, use this (and look for commented out fields): blaze-
82574
83187
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
82575
- # perdocdata.proto Next tag: 219
83188
+ # perdocdata.proto Next tag: 220
82576
83189
  class PerDocData
82577
83190
  include Google::Apis::Core::Hashable
82578
83191
 
@@ -83015,7 +83628,7 @@ module Google
83015
83628
  attr_accessor :noimageframeoverlayreason
83016
83629
 
83017
83630
  # NOTE: When adding a new field to be propagated to Raffia check if
83018
- # NsrPatternSignalSpec needs to be updated. Next ID: 51
83631
+ # NsrPatternSignalSpec needs to be updated. Next ID: 52
83019
83632
  # Corresponds to the JSON property `nsrDataProto`
83020
83633
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
83021
83634
  attr_accessor :nsr_data_proto
@@ -88207,7 +88820,7 @@ module Google
88207
88820
  # @return [Hash<String,Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpEvent>]
88208
88821
  attr_accessor :country_level_schedule_information
88209
88822
 
88210
- # Contains the format information for a single LiveOp/LiveEvent. Next ID: 10
88823
+ # Contains the format information for a single LiveOp/LiveEvent. Next ID: 11
88211
88824
  # Corresponds to the JSON property `defaultFormatInformation`
88212
88825
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpFormat]
88213
88826
  attr_accessor :default_format_information
@@ -88292,7 +88905,7 @@ module Google
88292
88905
  end
88293
88906
  end
88294
88907
 
88295
- # Contains the format information for a single LiveOp/LiveEvent. Next ID: 10
88908
+ # Contains the format information for a single LiveOp/LiveEvent. Next ID: 11
88296
88909
  class QualityCalypsoAppsUniversalAuLiveOpFormat
88297
88910
  include Google::Apis::Core::Hashable
88298
88911
 
@@ -88316,6 +88929,11 @@ module Google
88316
88929
  # @return [String]
88317
88930
  attr_accessor :image_url
88318
88931
 
88932
+ #
88933
+ # Corresponds to the JSON property `originalImageUrl`
88934
+ # @return [String]
88935
+ attr_accessor :original_image_url
88936
+
88319
88937
  #
88320
88938
  # Corresponds to the JSON property `squareImageUrl`
88321
88939
  # @return [String]
@@ -88351,6 +88969,7 @@ module Google
88351
88969
  @description = args[:description] if args.key?(:description)
88352
88970
  @eyebrow = args[:eyebrow] if args.key?(:eyebrow)
88353
88971
  @image_url = args[:image_url] if args.key?(:image_url)
88972
+ @original_image_url = args[:original_image_url] if args.key?(:original_image_url)
88354
88973
  @square_image_url = args[:square_image_url] if args.key?(:square_image_url)
88355
88974
  @status = args[:status] if args.key?(:status)
88356
88975
  @title = args[:title] if args.key?(:title)
@@ -88420,6 +89039,11 @@ module Google
88420
89039
  class QualityCalypsoAppsUniversalImageData
88421
89040
  include Google::Apis::Core::Hashable
88422
89041
 
89042
+ # iOS cover image, which includes the uni image from UAM only.
89043
+ # Corresponds to the JSON property `enhancedImage`
89044
+ # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImage]
89045
+ attr_accessor :enhanced_image
89046
+
88423
89047
  # aka. promotional image / cover image.
88424
89048
  # Corresponds to the JSON property `featureGraphic`
88425
89049
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImage]
@@ -88436,6 +89060,7 @@ module Google
88436
89060
 
88437
89061
  # Update properties of this object
88438
89062
  def update!(**args)
89063
+ @enhanced_image = args[:enhanced_image] if args.key?(:enhanced_image)
88439
89064
  @feature_graphic = args[:feature_graphic] if args.key?(:feature_graphic)
88440
89065
  @screenshot = args[:screenshot] if args.key?(:screenshot)
88441
89066
  end
@@ -89982,8 +90607,67 @@ module Google
89982
90607
  end
89983
90608
  end
89984
90609
 
90610
+ # The NsrChunksProto corresponds to the NSRChunks class. The data saved by the
90611
+ # proto and the class is the same. We provide utilities to go from one to the
90612
+ # other.
90613
+ class QualityNsrNsrChunksProto
90614
+ include Google::Apis::Core::Hashable
90615
+
90616
+ # Primary NSR sitechunk. In most of the cases it's same as HOST_LEVEL_V3
90617
+ # sitechunked canonical url of the document. In rare, but important cases it's
90618
+ # based on page markup (see quality/nsr/util/sitechunker.h for details).
90619
+ # Corresponds to the JSON property `primaryChunk`
90620
+ # @return [String]
90621
+ attr_accessor :primary_chunk
90622
+
90623
+ # Secondary NSR sitechunk. When present, it provides more granular chunking than
90624
+ # primary sitechunks (see quality/nsr/util/sitechunker.h for details). Note that
90625
+ # the NSRChunks class does not store trivial secondary chunks. Be aware of this
90626
+ # when constructing NsrChunksProto from scratch.
90627
+ # Corresponds to the JSON property `secondaryChunks`
90628
+ # @return [Array<String>]
90629
+ attr_accessor :secondary_chunks
90630
+
90631
+ def initialize(**args)
90632
+ update!(**args)
90633
+ end
90634
+
90635
+ # Update properties of this object
90636
+ def update!(**args)
90637
+ @primary_chunk = args[:primary_chunk] if args.key?(:primary_chunk)
90638
+ @secondary_chunks = args[:secondary_chunks] if args.key?(:secondary_chunks)
90639
+ end
90640
+ end
90641
+
90642
+ #
90643
+ class QualityNsrNsrChunksWithSourceInfo
90644
+ include Google::Apis::Core::Hashable
90645
+
90646
+ # The NsrChunksProto corresponds to the NSRChunks class. The data saved by the
90647
+ # proto and the class is the same. We provide utilities to go from one to the
90648
+ # other.
90649
+ # Corresponds to the JSON property `nsrChunks`
90650
+ # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrChunksProto]
90651
+ attr_accessor :nsr_chunks
90652
+
90653
+ # These are annotated in the Goldmine NSR annotator.
90654
+ # Corresponds to the JSON property `siteChunkSource`
90655
+ # @return [String]
90656
+ attr_accessor :site_chunk_source
90657
+
90658
+ def initialize(**args)
90659
+ update!(**args)
90660
+ end
90661
+
90662
+ # Update properties of this object
90663
+ def update!(**args)
90664
+ @nsr_chunks = args[:nsr_chunks] if args.key?(:nsr_chunks)
90665
+ @site_chunk_source = args[:site_chunk_source] if args.key?(:site_chunk_source)
90666
+ end
90667
+ end
90668
+
89985
90669
  # NOTE: When adding a new field to be propagated to Raffia check if
89986
- # NsrPatternSignalSpec needs to be updated. Next ID: 51
90670
+ # NsrPatternSignalSpec needs to be updated. Next ID: 52
89987
90671
  class QualityNsrNsrData
89988
90672
  include Google::Apis::Core::Hashable
89989
90673
 
@@ -90223,6 +90907,11 @@ module Google
90223
90907
  # @return [String]
90224
90908
  attr_accessor :url
90225
90909
 
90910
+ # Versioned map of ASR (authenticity) values.
90911
+ # Corresponds to the JSON property `versionedAsrData`
90912
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
90913
+ attr_accessor :versioned_asr_data
90914
+
90226
90915
  # Versioned map of NSR values for experimenting with the next release.
90227
90916
  # Corresponds to the JSON property `versionedData`
90228
90917
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrNsrVersionedData>]
@@ -90296,6 +90985,7 @@ module Google
90296
90985
  @tofu = args[:tofu] if args.key?(:tofu)
90297
90986
  @ugc_score = args[:ugc_score] if args.key?(:ugc_score)
90298
90987
  @url = args[:url] if args.key?(:url)
90988
+ @versioned_asr_data = args[:versioned_asr_data] if args.key?(:versioned_asr_data)
90299
90989
  @versioned_data = args[:versioned_data] if args.key?(:versioned_data)
90300
90990
  @video_score = args[:video_score] if args.key?(:video_score)
90301
90991
  @vlq = args[:vlq] if args.key?(:vlq)
@@ -90363,6 +91053,31 @@ module Google
90363
91053
  # @return [Array<String>]
90364
91054
  attr_accessor :goldmine_lookup_keys
90365
91055
 
91056
+ #
91057
+ # Corresponds to the JSON property `lastTimeProcessedGoldmineInSeconds`
91058
+ # @return [Fixnum]
91059
+ attr_accessor :last_time_processed_goldmine_in_seconds
91060
+
91061
+ # This field is populated only during MDU population, so it's *not* present in
91062
+ # docjoins, but it's present in production so that it can be displayed.
91063
+ # Corresponds to the JSON property `lastTimeProcessedMduInSeconds`
91064
+ # @return [Fixnum]
91065
+ attr_accessor :last_time_processed_mdu_in_seconds
91066
+
91067
+ # Records the last time each system has processed the proto. These are recorded
91068
+ # as seconds from the unix epoch. Ideally these fields would be google.protobuf.
91069
+ # Timestamp, but the scoring bundle (which depends on this proto) does not
91070
+ # understand proto3 syntax. See cl/500942047 for details.
91071
+ # Corresponds to the JSON property `lastTimeProcessedRaffiaInSeconds`
91072
+ # @return [Fixnum]
91073
+ attr_accessor :last_time_processed_raffia_in_seconds
91074
+
91075
+ # Stores the NSRChunks (computed by goldmine) which were used to populate the
91076
+ # data.
91077
+ # Corresponds to the JSON property `nsrChunksWithSourceInfo`
91078
+ # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrChunksWithSourceInfo]
91079
+ attr_accessor :nsr_chunks_with_source_info
91080
+
90366
91081
  #
90367
91082
  # Corresponds to the JSON property `raffiaLookupKey`
90368
91083
  # @return [String]
@@ -90394,6 +91109,10 @@ module Google
90394
91109
  @encoded_lookup_information = args[:encoded_lookup_information] if args.key?(:encoded_lookup_information)
90395
91110
  @goldmine_lookup_key_per_field = args[:goldmine_lookup_key_per_field] if args.key?(:goldmine_lookup_key_per_field)
90396
91111
  @goldmine_lookup_keys = args[:goldmine_lookup_keys] if args.key?(:goldmine_lookup_keys)
91112
+ @last_time_processed_goldmine_in_seconds = args[:last_time_processed_goldmine_in_seconds] if args.key?(:last_time_processed_goldmine_in_seconds)
91113
+ @last_time_processed_mdu_in_seconds = args[:last_time_processed_mdu_in_seconds] if args.key?(:last_time_processed_mdu_in_seconds)
91114
+ @last_time_processed_raffia_in_seconds = args[:last_time_processed_raffia_in_seconds] if args.key?(:last_time_processed_raffia_in_seconds)
91115
+ @nsr_chunks_with_source_info = args[:nsr_chunks_with_source_info] if args.key?(:nsr_chunks_with_source_info)
90397
91116
  @raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
90398
91117
  @raffia_lookup_key_per_field = args[:raffia_lookup_key_per_field] if args.key?(:raffia_lookup_key_per_field)
90399
91118
  @raffia_lookup_keys = args[:raffia_lookup_keys] if args.key?(:raffia_lookup_keys)
@@ -93017,6 +93736,13 @@ module Google
93017
93736
  # @return [Array<Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationInferredImage>]
93018
93737
  attr_accessor :inferred_images
93019
93738
 
93739
+ # Is the offer Lens buildable. The corresponding field in Shopping Annotation is
93740
+ # SurfaceSelection.
93741
+ # Corresponds to the JSON property `isLensBuildable`
93742
+ # @return [Boolean]
93743
+ attr_accessor :is_lens_buildable
93744
+ alias_method :is_lens_buildable?, :is_lens_buildable
93745
+
93020
93746
  # information about methods used to match offer with indexed url. See
93021
93747
  # shopping_annotation.proto
93022
93748
  # Corresponds to the JSON property `matchingType`
@@ -93043,8 +93769,8 @@ module Google
93043
93769
  # @return [String]
93044
93770
  attr_accessor :non_displayable_currency
93045
93771
 
93046
- # Normalized riskiness score for Organic destinations. It's in range [0,1000]
93047
- # with 0 being the worst score and 1000 being the best.
93772
+ # Normalized riskiness score for Organic destinations. It's in range [1,1000]
93773
+ # with 1 being the worst score and 1000 being the best.
93048
93774
  # Corresponds to the JSON property `nonDisplayableOrganicScoreMillis`
93049
93775
  # @return [Fixnum]
93050
93776
  attr_accessor :non_displayable_organic_score_millis
@@ -93075,6 +93801,7 @@ module Google
93075
93801
  @fingerprint_of_offer_urls = args[:fingerprint_of_offer_urls] if args.key?(:fingerprint_of_offer_urls)
93076
93802
  @image_id = args[:image_id] if args.key?(:image_id)
93077
93803
  @inferred_images = args[:inferred_images] if args.key?(:inferred_images)
93804
+ @is_lens_buildable = args[:is_lens_buildable] if args.key?(:is_lens_buildable)
93078
93805
  @matching_type = args[:matching_type] if args.key?(:matching_type)
93079
93806
  @merchant_account_id = args[:merchant_account_id] if args.key?(:merchant_account_id)
93080
93807
  @merchant_item_id = args[:merchant_item_id] if args.key?(:merchant_item_id)
@@ -93977,8 +94704,8 @@ module Google
93977
94704
 
93978
94705
  # LastSignificantUpdate as UNIX timestamp in seconds. This is the new signal (go/
93979
94706
  # lsu-dd) from LSU Selector V2 (once that is enabled, see b/171879888 for status)
93980
- # , falling back to the legacy V1 signal if the V2 signal does not exist. Please
93981
- # use the 'source' field to determine where the value comes from.
94707
+ # , falling back to the legacy V1 signal if the HIGH_PRECISION signal does not
94708
+ # exist. Please use the 'source' field to determine where the value comes from.
93982
94709
  # Corresponds to the JSON property `date`
93983
94710
  # @return [Fixnum]
93984
94711
  attr_accessor :date
@@ -94020,7 +94747,7 @@ module Google
94020
94747
 
94021
94748
  # The timestamp that was picked up by the component indicated in the
94022
94749
  # LastSignificantUpdateSource but was dropped due to exceeding the upper bound.
94023
- # Set only if it's not equal to final LSU.
94750
+ # Set only if it is not equal to final LSU.
94024
94751
  # Corresponds to the JSON property `unboundedTimestampInSeconds`
94025
94752
  # @return [Fixnum]
94026
94753
  attr_accessor :unbounded_timestamp_in_seconds
@@ -94523,6 +95250,12 @@ module Google
94523
95250
  # @return [String]
94524
95251
  attr_accessor :amarna_docid
94525
95252
 
95253
+ # This proto captures the output of analyses that ran on Automatic Speech
95254
+ # Recogntion produced by the recognizer.
95255
+ # Corresponds to the JSON property `asrRepair`
95256
+ # @return [Google::Apis::ContentwarehouseV1::IndexingVideosAsrTranscriptRepairAnnotation]
95257
+ attr_accessor :asr_repair
95258
+
94526
95259
  # The language of the transcript as recorded in Amarna.
94527
95260
  # Corresponds to the JSON property `lang`
94528
95261
  # @return [String]
@@ -94564,6 +95297,7 @@ module Google
94564
95297
  # Update properties of this object
94565
95298
  def update!(**args)
94566
95299
  @amarna_docid = args[:amarna_docid] if args.key?(:amarna_docid)
95300
+ @asr_repair = args[:asr_repair] if args.key?(:asr_repair)
94567
95301
  @lang = args[:lang] if args.key?(:lang)
94568
95302
  @punctuated_transcript = args[:punctuated_transcript] if args.key?(:punctuated_transcript)
94569
95303
  @saft_document = args[:saft_document] if args.key?(:saft_document)
@@ -95527,26 +96261,12 @@ module Google
95527
96261
  class RepositoryWebrefAnnotationDebugInfo
95528
96262
  include Google::Apis::Core::Hashable
95529
96263
 
95530
- #
96264
+ # Only use for debugging, this should not be displayed to user or used for any
96265
+ # kind of logic/processing.
95531
96266
  # Corresponds to the JSON property `description`
95532
96267
  # @return [String]
95533
96268
  attr_accessor :description
95534
96269
 
95535
- #
95536
- # Corresponds to the JSON property `infoString`
95537
- # @return [Array<String>]
95538
- attr_accessor :info_string
95539
-
95540
- # Collection of input, extracted features and classification output.
95541
- # Corresponds to the JSON property `rawClassification`
95542
- # @return [Google::Apis::ContentwarehouseV1::EntitySignalsEntityClassification]
95543
- attr_accessor :raw_classification
95544
-
95545
- #
95546
- # Corresponds to the JSON property `url`
95547
- # @return [String]
95548
- attr_accessor :url
95549
-
95550
96270
  def initialize(**args)
95551
96271
  update!(**args)
95552
96272
  end
@@ -95554,9 +96274,6 @@ module Google
95554
96274
  # Update properties of this object
95555
96275
  def update!(**args)
95556
96276
  @description = args[:description] if args.key?(:description)
95557
- @info_string = args[:info_string] if args.key?(:info_string)
95558
- @raw_classification = args[:raw_classification] if args.key?(:raw_classification)
95559
- @url = args[:url] if args.key?(:url)
95560
96277
  end
95561
96278
  end
95562
96279
 
@@ -96394,18 +97111,6 @@ module Google
96394
97111
  class RepositoryWebrefDetailedEntityScores
96395
97112
  include Google::Apis::Core::Hashable
96396
97113
 
96397
- # Additional info regarding how the score of an annotation was obtained. These
96398
- # will no longer be set once the feature `topic2_detailed_scores` is enabled (Q4
96399
- # 2017).
96400
- # Corresponds to the JSON property `anchorScore`
96401
- # @return [Float]
96402
- attr_accessor :anchor_score
96403
-
96404
- #
96405
- # Corresponds to the JSON property `bodyScore`
96406
- # @return [Float]
96407
- attr_accessor :body_score
96408
-
96409
97114
  # Represents how much the entity is connected/related to the other entities in
96410
97115
  # the document. This signal partially influences the topicality score, but it is
96411
97116
  # not totally aligned with it: an entity can be very related to the rest of the
@@ -96459,18 +97164,6 @@ module Google
96459
97164
  # @return [Float]
96460
97165
  attr_accessor :local_entity_location_confidence
96461
97166
 
96462
- #
96463
- # Corresponds to the JSON property `nbScore`
96464
- # @return [Float]
96465
- attr_accessor :nb_score
96466
-
96467
- # DEPRECATED: this field is no longer set. As of early June 2018 it is
96468
- # referenced in hundreds of test files and is difficult to remove from the code
96469
- # base.
96470
- # Corresponds to the JSON property `newsTopicalityScore`
96471
- # @return [Float]
96472
- attr_accessor :news_topicality_score
96473
-
96474
97167
  # Representation of the topicality score that is normalized in [0, 1] and which
96475
97168
  # sum over all entities in the document is 1. It represents the "proportion" of
96476
97169
  # the document that talks about the entity. This score is less human
@@ -96500,8 +97193,6 @@ module Google
96500
97193
 
96501
97194
  # Update properties of this object
96502
97195
  def update!(**args)
96503
- @anchor_score = args[:anchor_score] if args.key?(:anchor_score)
96504
- @body_score = args[:body_score] if args.key?(:body_score)
96505
97196
  @connectedness = args[:connectedness] if args.key?(:connectedness)
96506
97197
  @doc_score = args[:doc_score] if args.key?(:doc_score)
96507
97198
  @geo_topic_normalized_score = args[:geo_topic_normalized_score] if args.key?(:geo_topic_normalized_score)
@@ -96509,8 +97200,6 @@ module Google
96509
97200
  @is_publisher = args[:is_publisher] if args.key?(:is_publisher)
96510
97201
  @is_reference_page = args[:is_reference_page] if args.key?(:is_reference_page)
96511
97202
  @local_entity_location_confidence = args[:local_entity_location_confidence] if args.key?(:local_entity_location_confidence)
96512
- @nb_score = args[:nb_score] if args.key?(:nb_score)
96513
- @news_topicality_score = args[:news_topicality_score] if args.key?(:news_topicality_score)
96514
97203
  @normalized_topicality = args[:normalized_topicality] if args.key?(:normalized_topicality)
96515
97204
  @reference_page_scores = args[:reference_page_scores] if args.key?(:reference_page_scores)
96516
97205
  @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
@@ -96521,17 +97210,6 @@ module Google
96521
97210
  class RepositoryWebrefDetailedMentionScores
96522
97211
  include Google::Apis::Core::Hashable
96523
97212
 
96524
- #
96525
- # Corresponds to the JSON property `patternInfo`
96526
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPatternInfo>]
96527
- attr_accessor :pattern_info
96528
-
96529
- # How much confidence that a entity is annotated on a given name. NOTE: it's
96530
- # slightly different with normal annotation confidence.
96531
- # Corresponds to the JSON property `posteriorForLearning`
96532
- # @return [Float]
96533
- attr_accessor :posterior_for_learning
96534
-
96535
97213
  # How much support this mention received from the results for PostRef. This is
96536
97214
  # populated only if explicitly requested and different from 0.
96537
97215
  # Corresponds to the JSON property `resultEntityScore`
@@ -96544,8 +97222,6 @@ module Google
96544
97222
 
96545
97223
  # Update properties of this object
96546
97224
  def update!(**args)
96547
- @pattern_info = args[:pattern_info] if args.key?(:pattern_info)
96548
- @posterior_for_learning = args[:posterior_for_learning] if args.key?(:posterior_for_learning)
96549
97225
  @result_entity_score = args[:result_entity_score] if args.key?(:result_entity_score)
96550
97226
  end
96551
97227
  end
@@ -97175,6 +97851,11 @@ module Google
97175
97851
  class RepositoryWebrefEntityNameRatingsEntityNameRating
97176
97852
  include Google::Apis::Core::Hashable
97177
97853
 
97854
+ # Comment left by the rater to justify the rating decision.
97855
+ # Corresponds to the JSON property `comment`
97856
+ # @return [String]
97857
+ attr_accessor :comment
97858
+
97178
97859
  #
97179
97860
  # Corresponds to the JSON property `label`
97180
97861
  # @return [String]
@@ -97191,6 +97872,7 @@ module Google
97191
97872
 
97192
97873
  # Update properties of this object
97193
97874
  def update!(**args)
97875
+ @comment = args[:comment] if args.key?(:comment)
97194
97876
  @label = args[:label] if args.key?(:label)
97195
97877
  @source = args[:source] if args.key?(:source)
97196
97878
  end
@@ -99621,41 +100303,6 @@ module Google
99621
100303
  end
99622
100304
  end
99623
100305
 
99624
- #
99625
- class RepositoryWebrefPatternInfo
99626
- include Google::Apis::Core::Hashable
99627
-
99628
- # The confidence we can trust this pattern.
99629
- # Corresponds to the JSON property `matchProbability`
99630
- # @return [Float]
99631
- attr_accessor :match_probability
99632
-
99633
- # Whether other slots is mentioned in annotator. If they is no other slot, it is
99634
- # set to true.
99635
- # Corresponds to the JSON property `otherSlotsMentioned`
99636
- # @return [Boolean]
99637
- attr_accessor :other_slots_mentioned
99638
- alias_method :other_slots_mentioned?, :other_slots_mentioned
99639
-
99640
- # The corresponding patterns matched on this candidate, which contains the
99641
- # pattern string and the slot number of the candidate in this pattern, such as [|
99642
- # /athletes|vs|/athletes|]_1.
99643
- # Corresponds to the JSON property `pattern`
99644
- # @return [String]
99645
- attr_accessor :pattern
99646
-
99647
- def initialize(**args)
99648
- update!(**args)
99649
- end
99650
-
99651
- # Update properties of this object
99652
- def update!(**args)
99653
- @match_probability = args[:match_probability] if args.key?(:match_probability)
99654
- @other_slots_mentioned = args[:other_slots_mentioned] if args.key?(:other_slots_mentioned)
99655
- @pattern = args[:pattern] if args.key?(:pattern)
99656
- end
99657
- end
99658
-
99659
100306
  # Per document ratings relevance ratings. Next id: 21.
99660
100307
  class RepositoryWebrefPerDocRelevanceRating
99661
100308
  include Google::Apis::Core::Hashable
@@ -102542,6 +103189,16 @@ module Google
102542
103189
  # @return [Google::Apis::ContentwarehouseV1::ResearchScamGenericFeatureVectorFixedPointMetadata]
102543
103190
  attr_accessor :fixed_point_metadata
102544
103191
 
103192
+ # copybara:strip_begin INTERNAL USE ONLY! The ScaM Team reserves the right to
103193
+ # remove this field and reuse its proto tag without notice. DO NOT USE outside
103194
+ # of build_shards_pipeline! This field is used inside build_shards_pipeline to
103195
+ # indicate whether this GFV is residing in its secondary (vs. primary) partition.
103196
+ # copybara:strip_end
103197
+ # Corresponds to the JSON property `internalOnlyIsSecondaryPartition`
103198
+ # @return [Boolean]
103199
+ attr_accessor :internal_only_is_secondary_partition
103200
+ alias_method :internal_only_is_secondary_partition?, :internal_only_is_secondary_partition
103201
+
102545
103202
  # Describes if data has been normalized and the type.
102546
103203
  # Corresponds to the JSON property `normType`
102547
103204
  # @return [String]
@@ -102629,6 +103286,7 @@ module Google
102629
103286
  @feature_value_int64 = args[:feature_value_int64] if args.key?(:feature_value_int64)
102630
103287
  @feature_value_string = args[:feature_value_string] if args.key?(:feature_value_string)
102631
103288
  @fixed_point_metadata = args[:fixed_point_metadata] if args.key?(:fixed_point_metadata)
103289
+ @internal_only_is_secondary_partition = args[:internal_only_is_secondary_partition] if args.key?(:internal_only_is_secondary_partition)
102632
103290
  @norm_type = args[:norm_type] if args.key?(:norm_type)
102633
103291
  @query_metadata = args[:query_metadata] if args.key?(:query_metadata)
102634
103292
  @restrict_tokens = args[:restrict_tokens] if args.key?(:restrict_tokens)
@@ -102930,7 +103588,7 @@ module Google
102930
103588
 
102931
103589
  # If populated, this is the maximum number of neighbors that may be returned
102932
103590
  # from a single shard. If not populated, up to num_neighbors neighbors are
102933
- # returned from each shard. Setting his to a smaller value than num_neighbors
103591
+ # returned from each shard. Setting this to a smaller value than num_neighbors
102934
103592
  # will increase speed at the expense of accuray by requiring cross-shard merging
102935
103593
  # of fewer neighbors. If this value is set, num_neighbors must also be set and
102936
103594
  # this value must be <= num_neighbors and >= num_neighbors / number of shards.
@@ -103571,9 +104229,9 @@ module Google
103571
104229
  attr_accessor :location_name
103572
104230
 
103573
104231
  #
103574
- # Corresponds to the JSON property `locationResource`
104232
+ # Corresponds to the JSON property `locationSource`
103575
104233
  # @return [String]
103576
- attr_accessor :location_resource
104234
+ attr_accessor :location_source
103577
104235
 
103578
104236
  # Latitude and longitude for a single point in the form of "lat,long".
103579
104237
  # Corresponds to the JSON property `pointCoordinates`
@@ -103597,7 +104255,7 @@ module Google
103597
104255
  @location_mid = args[:location_mid] if args.key?(:location_mid)
103598
104256
  @location_mid_label = args[:location_mid_label] if args.key?(:location_mid_label)
103599
104257
  @location_name = args[:location_name] if args.key?(:location_name)
103600
- @location_resource = args[:location_resource] if args.key?(:location_resource)
104258
+ @location_source = args[:location_source] if args.key?(:location_source)
103601
104259
  @point_coordinates = args[:point_coordinates] if args.key?(:point_coordinates)
103602
104260
  @unformatted_coordinates = args[:unformatted_coordinates] if args.key?(:unformatted_coordinates)
103603
104261
  end
@@ -103877,7 +104535,12 @@ module Google
103877
104535
  attr_accessor :is_based_on
103878
104536
 
103879
104537
  # Indicates whether the metadata was inferred using an ML model rather than from
103880
- # the schema.org fields.
104538
+ # the schema.org fields. Use optional so that explicitly setting to false will
104539
+ # ensure the value is passed along to the KG instead of being indistinguisable
104540
+ # from being unset and thus not set in the KG. This field was originally non-
104541
+ # optional; changing to optional is backwards compatible, but protos created
104542
+ # prior to being optional won't have has_is_inferred() (go/proto-proposals/
104543
+ # proto3-presence#wire-format-semantic-changes).
103881
104544
  # Corresponds to the JSON property `isInferred`
103882
104545
  # @return [Boolean]
103883
104546
  attr_accessor :is_inferred
@@ -104310,15 +104973,20 @@ module Google
104310
104973
  class ResearchScienceSearchSourceUrlDocjoinInfoWebrefEntityInfo
104311
104974
  include Google::Apis::Core::Hashable
104312
104975
 
104976
+ # DEPRECATED. See entity_type instead.
104977
+ # Corresponds to the JSON property `deprecatedEntityType`
104978
+ # @return [String]
104979
+ attr_accessor :deprecated_entity_type
104980
+
104313
104981
  # The English description of the mid from the KG.
104314
104982
  # Corresponds to the JSON property `description`
104315
104983
  # @return [String]
104316
104984
  attr_accessor :description
104317
104985
 
104318
104986
  #
104319
- # Corresponds to the JSON property `entityType`
104320
- # @return [String]
104321
- attr_accessor :entity_type
104987
+ # Corresponds to the JSON property `entityCollectionType`
104988
+ # @return [Array<String>]
104989
+ attr_accessor :entity_collection_type
104322
104990
 
104323
104991
  # HRID of the KG collections
104324
104992
  # Corresponds to the JSON property `kgCollection`
@@ -104336,8 +105004,9 @@ module Google
104336
105004
 
104337
105005
  # Update properties of this object
104338
105006
  def update!(**args)
105007
+ @deprecated_entity_type = args[:deprecated_entity_type] if args.key?(:deprecated_entity_type)
104339
105008
  @description = args[:description] if args.key?(:description)
104340
- @entity_type = args[:entity_type] if args.key?(:entity_type)
105009
+ @entity_collection_type = args[:entity_collection_type] if args.key?(:entity_collection_type)
104341
105010
  @kg_collection = args[:kg_collection] if args.key?(:kg_collection)
104342
105011
  @mid = args[:mid] if args.key?(:mid)
104343
105012
  end
@@ -104629,6 +105298,11 @@ module Google
104629
105298
  class ScienceCitation
104630
105299
  include Google::Apis::Core::Hashable
104631
105300
 
105301
+ # The source of abstract text that is chosen by science docid assigner.
105302
+ # Corresponds to the JSON property `AbstractCitationSource`
105303
+ # @return [Fixnum]
105304
+ attr_accessor :abstract_citation_source
105305
+
104632
105306
  #
104633
105307
  # Corresponds to the JSON property `AbstractDisplay`
104634
105308
  # @return [String]
@@ -105207,6 +105881,7 @@ module Google
105207
105881
 
105208
105882
  # Update properties of this object
105209
105883
  def update!(**args)
105884
+ @abstract_citation_source = args[:abstract_citation_source] if args.key?(:abstract_citation_source)
105210
105885
  @abstract_display = args[:abstract_display] if args.key?(:abstract_display)
105211
105886
  @abstract_html = args[:abstract_html] if args.key?(:abstract_html)
105212
105887
  @abstract_html_left_over = args[:abstract_html_left_over] if args.key?(:abstract_html_left_over)
@@ -106168,12 +106843,6 @@ module Google
106168
106843
  class ScienceIndexSignal
106169
106844
  include Google::Apis::Core::Hashable
106170
106845
 
106171
- # Subscriber Access feature: List of Holdings IDs associated with this document.
106172
- # Should be present only for the documents with 'VisiblePrefixTerms' being set.
106173
- # Corresponds to the JSON property `HoldingsId`
106174
- # @return [Array<Fixnum>]
106175
- attr_accessor :holdings_id
106176
-
106177
106846
  # Fingerprint of the html title of the page. This is useful for checking if we
106178
106847
  # have the same version of the page as websearch.
106179
106848
  # Corresponds to the JSON property `HtmlTitleFp`
@@ -106256,7 +106925,6 @@ module Google
106256
106925
 
106257
106926
  # Update properties of this object
106258
106927
  def update!(**args)
106259
- @holdings_id = args[:holdings_id] if args.key?(:holdings_id)
106260
106928
  @html_title_fp = args[:html_title_fp] if args.key?(:html_title_fp)
106261
106929
  @index_selection_score = args[:index_selection_score] if args.key?(:index_selection_score)
106262
106930
  @num_backward_links = args[:num_backward_links] if args.key?(:num_backward_links)
@@ -106346,6 +107014,14 @@ module Google
106346
107014
  class SdrEmbedding
106347
107015
  include Google::Apis::Core::Hashable
106348
107016
 
107017
+ # Used as Mustang attachment DO NOT: - ACCESS THE PROTO FIELDS DIRECTLY - USE
107018
+ # THE DECODING LIBRARY IN quality/rankembed/mustang/fixed_point_decoding_helpers.
107019
+ # h INSTEAD. - USE HARDCODED MustangRankEmbedInfo TEXT PROTOS IN TESTS! USE
107020
+ # quality/rankembed/test_utils/mustang_rankembed_info_utils.h INSTEAD.
107021
+ # Corresponds to the JSON property `compressedEmbeddings`
107022
+ # @return [Google::Apis::ContentwarehouseV1::QualityRankembedMustangMustangRankEmbedInfo]
107023
+ attr_accessor :compressed_embeddings
107024
+
106349
107025
  #
106350
107026
  # Corresponds to the JSON property `values`
106351
107027
  # @return [Array<Float>]
@@ -106362,6 +107038,7 @@ module Google
106362
107038
 
106363
107039
  # Update properties of this object
106364
107040
  def update!(**args)
107041
+ @compressed_embeddings = args[:compressed_embeddings] if args.key?(:compressed_embeddings)
106365
107042
  @values = args[:values] if args.key?(:values)
106366
107043
  @version = args[:version] if args.key?(:version)
106367
107044
  end
@@ -109666,6 +110343,31 @@ module Google
109666
110343
  end
109667
110344
  end
109668
110345
 
110346
+ # Settings that control how a SIBS decoration overlay is displayed.
110347
+ class SocialGraphApiProtoDecorationOverlay
110348
+ include Google::Apis::Core::Hashable
110349
+
110350
+ # Settings that control how a photo overlay is displayed.
110351
+ # Corresponds to the JSON property `overlay`
110352
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPhotoOverlay]
110353
+ attr_accessor :overlay
110354
+
110355
+ # SIBS ID of the decoration that is overlaid on the photo.
110356
+ # Corresponds to the JSON property `sibsId`
110357
+ # @return [String]
110358
+ attr_accessor :sibs_id
110359
+
110360
+ def initialize(**args)
110361
+ update!(**args)
110362
+ end
110363
+
110364
+ # Update properties of this object
110365
+ def update!(**args)
110366
+ @overlay = args[:overlay] if args.key?(:overlay)
110367
+ @sibs_id = args[:sibs_id] if args.key?(:sibs_id)
110368
+ end
110369
+ end
110370
+
109669
110371
  # Represents a delegated group id, delegated groups refer to groups that are
109670
110372
  # owned by another gaiaId, but this user has access to.
109671
110373
  class SocialGraphApiProtoDelegatedGroupId
@@ -109724,6 +110426,28 @@ module Google
109724
110426
  end
109725
110427
  end
109726
110428
 
110429
+ # A reference to a photo in either Photos Backend or SGI storage. This message
110430
+ # should be treated as an opaque blob to avoid a dependency on a specific
110431
+ # storage backend.
110432
+ class SocialGraphApiProtoImageReference
110433
+ include Google::Apis::Core::Hashable
110434
+
110435
+ # Unique identifier for the photo. For now, this will always be a Photos Backend
110436
+ # media key.
110437
+ # Corresponds to the JSON property `mediaId`
110438
+ # @return [String]
110439
+ attr_accessor :media_id
110440
+
110441
+ def initialize(**args)
110442
+ update!(**args)
110443
+ end
110444
+
110445
+ # Update properties of this object
110446
+ def update!(**args)
110447
+ @media_id = args[:media_id] if args.key?(:media_id)
110448
+ end
110449
+ end
110450
+
109727
110451
  #
109728
110452
  class SocialGraphApiProtoLimitedProfileNameSettings
109729
110453
  include Google::Apis::Core::Hashable
@@ -109794,8 +110518,9 @@ module Google
109794
110518
  include Google::Apis::Core::Hashable
109795
110519
 
109796
110520
  # Indicates why the limited profile has been disabled. Will be set iff the
109797
- # limited profile is disabled. This field can only be set server-side and must
109798
- # not be used by external clients when mutating LimitedProfiles.
110521
+ # limited profile is disabled. Note: When mutating limited profiles, in order to
110522
+ # disable them, MutateDataRequest.DisableLimitedProfile must be true. Currently,
110523
+ # disables are only performed server-side, so this is read-only for clients.
109799
110524
  # Corresponds to the JSON property `disableReason`
109800
110525
  # @return [String]
109801
110526
  attr_accessor :disable_reason
@@ -109950,6 +110675,32 @@ module Google
109950
110675
  end
109951
110676
  end
109952
110677
 
110678
+ # Metadata for a user's name pronunciation audio. Proto message is shared
110679
+ # between merged_person and FBS.
110680
+ class SocialGraphApiProtoNamePronunciationAudioMetadata
110681
+ include Google::Apis::Core::Hashable
110682
+
110683
+ # Stored. Updated on pronunciation creates and updates.
110684
+ # Corresponds to the JSON property `audioSource`
110685
+ # @return [String]
110686
+ attr_accessor :audio_source
110687
+
110688
+ # Stored.
110689
+ # Corresponds to the JSON property `audioState`
110690
+ # @return [String]
110691
+ attr_accessor :audio_state
110692
+
110693
+ def initialize(**args)
110694
+ update!(**args)
110695
+ end
110696
+
110697
+ # Update properties of this object
110698
+ def update!(**args)
110699
+ @audio_source = args[:audio_source] if args.key?(:audio_source)
110700
+ @audio_state = args[:audio_state] if args.key?(:audio_state)
110701
+ end
110702
+ end
110703
+
109953
110704
  # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109954
110705
  class SocialGraphApiProtoNotificationTrigger
109955
110706
  include Google::Apis::Core::Hashable
@@ -110187,6 +110938,32 @@ module Google
110187
110938
  end
110188
110939
  end
110189
110940
 
110941
+ # Settings that control how a photo overlay is displayed.
110942
+ class SocialGraphApiProtoPhotoOverlay
110943
+ include Google::Apis::Core::Hashable
110944
+
110945
+ # Position relative to the user's avatar. 0 = top/left, 1 = bottom/right.
110946
+ # Corresponds to the JSON property `relativePosition`
110947
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRelativePosition]
110948
+ attr_accessor :relative_position
110949
+
110950
+ # Scale relative to the user's avatar. x and y range from 0 (exclusive) to 1 (
110951
+ # inclusive).
110952
+ # Corresponds to the JSON property `relativeScale`
110953
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRelativeScale]
110954
+ attr_accessor :relative_scale
110955
+
110956
+ def initialize(**args)
110957
+ update!(**args)
110958
+ end
110959
+
110960
+ # Update properties of this object
110961
+ def update!(**args)
110962
+ @relative_position = args[:relative_position] if args.key?(:relative_position)
110963
+ @relative_scale = args[:relative_scale] if args.key?(:relative_scale)
110964
+ end
110965
+ end
110966
+
110190
110967
  # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
110191
110968
  class SocialGraphApiProtoPrompt
110192
110969
  include Google::Apis::Core::Hashable
@@ -110564,6 +111341,57 @@ module Google
110564
111341
  end
110565
111342
  end
110566
111343
 
111344
+ # Position relative to the user's avatar. 0 = top/left, 1 = bottom/right.
111345
+ class SocialGraphApiProtoRelativePosition
111346
+ include Google::Apis::Core::Hashable
111347
+
111348
+ #
111349
+ # Corresponds to the JSON property `x`
111350
+ # @return [Float]
111351
+ attr_accessor :x
111352
+
111353
+ #
111354
+ # Corresponds to the JSON property `y`
111355
+ # @return [Float]
111356
+ attr_accessor :y
111357
+
111358
+ def initialize(**args)
111359
+ update!(**args)
111360
+ end
111361
+
111362
+ # Update properties of this object
111363
+ def update!(**args)
111364
+ @x = args[:x] if args.key?(:x)
111365
+ @y = args[:y] if args.key?(:y)
111366
+ end
111367
+ end
111368
+
111369
+ # Scale relative to the user's avatar. x and y range from 0 (exclusive) to 1 (
111370
+ # inclusive).
111371
+ class SocialGraphApiProtoRelativeScale
111372
+ include Google::Apis::Core::Hashable
111373
+
111374
+ #
111375
+ # Corresponds to the JSON property `x`
111376
+ # @return [Float]
111377
+ attr_accessor :x
111378
+
111379
+ #
111380
+ # Corresponds to the JSON property `y`
111381
+ # @return [Float]
111382
+ attr_accessor :y
111383
+
111384
+ def initialize(**args)
111385
+ update!(**args)
111386
+ end
111387
+
111388
+ # Update properties of this object
111389
+ def update!(**args)
111390
+ @x = args[:x] if args.key?(:x)
111391
+ @y = args[:y] if args.key?(:y)
111392
+ end
111393
+ end
111394
+
110567
111395
  # Data contained in every search profile. go/janata-profile-in-sgbe.
110568
111396
  class SocialGraphApiProtoSearchProfileData
110569
111397
  include Google::Apis::Core::Hashable
@@ -114210,7 +115038,7 @@ module Google
114210
115038
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
114211
115039
  # reply (it should be added *after* the reply is prepared). Use
114212
115040
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
114213
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 43
115041
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 44
114214
115042
  # Corresponds to the JSON property `TrawlerPrivate`
114215
115043
  # @return [Google::Apis::ContentwarehouseV1::TrawlerTrawlerPrivateFetchReplyData]
114216
115044
  attr_accessor :trawler_private
@@ -115456,7 +116284,7 @@ module Google
115456
116284
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
115457
116285
  # reply (it should be added *after* the reply is prepared). Use
115458
116286
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
115459
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 43
116287
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 44
115460
116288
  class TrawlerTrawlerPrivateFetchReplyData
115461
116289
  include Google::Apis::Core::Hashable
115462
116290
 
@@ -115598,6 +116426,12 @@ module Google
115598
116426
  # @return [String]
115599
116427
  attr_accessor :authentication_info
115600
116428
 
116429
+ # Cache hit for this url, bypassed host_overfull error.
116430
+ # Corresponds to the JSON property `bypassedHostOverfull`
116431
+ # @return [Boolean]
116432
+ attr_accessor :bypassed_host_overfull
116433
+ alias_method :bypassed_host_overfull?, :bypassed_host_overfull
116434
+
115601
116435
  # Corresponds to AcceptableAfterDate field in FetchParams.
115602
116436
  # Corresponds to the JSON property `cacheAcceptableAfterDate`
115603
116437
  # @return [Fixnum]
@@ -115743,6 +116577,7 @@ module Google
115743
116577
  @user_agent_sent = args[:user_agent_sent] if args.key?(:user_agent_sent)
115744
116578
  @user_agent_sent_fp = args[:user_agent_sent_fp] if args.key?(:user_agent_sent_fp)
115745
116579
  @authentication_info = args[:authentication_info] if args.key?(:authentication_info)
116580
+ @bypassed_host_overfull = args[:bypassed_host_overfull] if args.key?(:bypassed_host_overfull)
115746
116581
  @cache_acceptable_after_date = args[:cache_acceptable_after_date] if args.key?(:cache_acceptable_after_date)
115747
116582
  @cache_acceptable_age = args[:cache_acceptable_age] if args.key?(:cache_acceptable_age)
115748
116583
  @cache_hit_type = args[:cache_hit_type] if args.key?(:cache_hit_type)
@@ -116718,7 +117553,7 @@ module Google
116718
117553
 
116719
117554
  # This defines the per-doc data which is extracted from thumbnails and
116720
117555
  # propagated over to indexing. It contains all information that can be used for
116721
- # restricts. Next tag id: 128
117556
+ # restricts. Next tag id: 129
116722
117557
  # Corresponds to the JSON property `imageData`
116723
117558
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
116724
117559
  attr_accessor :image_data
@@ -117482,7 +118317,7 @@ module Google
117482
118317
  # Intended to be simpler to work with than the ExportedStanza it's derived from
117483
118318
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
117484
118319
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
117485
- # 76
118320
+ # 77
117486
118321
  # Corresponds to the JSON property `miniStanza`
117487
118322
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
117488
118323
  attr_accessor :mini_stanza
@@ -124922,7 +125757,7 @@ module Google
124922
125757
  end
124923
125758
  end
124924
125759
 
124925
- # Some per-doc info is returned for all www DocInfo requests. Next id: 92
125760
+ # Some per-doc info is returned for all www DocInfo requests. Next id: 94
124926
125761
  class WwwDocInfo
124927
125762
  include Google::Apis::Core::Hashable
124928
125763
 
@@ -125174,6 +126009,14 @@ module Google
125174
126009
  # @return [Fixnum]
125175
126010
  attr_accessor :noimageframeoverlayreason
125176
126011
 
126012
+ # Sitechunk used by NSR. For most pages this is equivalent HOST_LEVEL_V3
126013
+ # sitechunk. Main difference is that, for sites like youtube.com and vimeo.com,
126014
+ # nsr_sitechunks are channel level (based on schema.org markup, not url alone).
126015
+ # See go/nsr-chunks for more details.
126016
+ # Corresponds to the JSON property `nsrSitechunk`
126017
+ # @return [String]
126018
+ attr_accessor :nsr_sitechunk
126019
+
125177
126020
  #
125178
126021
  # Corresponds to the JSON property `partialBoilerplateMetadescription`
125179
126022
  # @return [Boolean]
@@ -125368,6 +126211,7 @@ module Google
125368
126211
  @meta_description_languages = args[:meta_description_languages] if args.key?(:meta_description_languages)
125369
126212
  @nearby_text = args[:nearby_text] if args.key?(:nearby_text)
125370
126213
  @noimageframeoverlayreason = args[:noimageframeoverlayreason] if args.key?(:noimageframeoverlayreason)
126214
+ @nsr_sitechunk = args[:nsr_sitechunk] if args.key?(:nsr_sitechunk)
125371
126215
  @partial_boilerplate_metadescription = args[:partial_boilerplate_metadescription] if args.key?(:partial_boilerplate_metadescription)
125372
126216
  @porn_stats = args[:porn_stats] if args.key?(:porn_stats)
125373
126217
  @quality_without_adjustment = args[:quality_without_adjustment] if args.key?(:quality_without_adjustment)
@@ -125680,7 +126524,7 @@ module Google
125680
126524
  # @return [Array<Fixnum>]
125681
126525
  attr_accessor :chosen_body_tidbits
125682
126526
 
125683
- # Some per-doc info is returned for all www DocInfo requests. Next id: 92
126527
+ # Some per-doc info is returned for all www DocInfo requests. Next id: 94
125684
126528
  # Corresponds to the JSON property `docInfo`
125685
126529
  # @return [Google::Apis::ContentwarehouseV1::WwwDocInfo]
125686
126530
  attr_accessor :doc_info
@@ -126310,7 +127154,7 @@ module Google
126310
127154
  # Intended to be simpler to work with than the ExportedStanza it's derived from
126311
127155
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
126312
127156
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
126313
- # 76
127157
+ # 77
126314
127158
  class YoutubeCommentsClusteringMiniStanza
126315
127159
  include Google::Apis::Core::Hashable
126316
127160
 
@@ -126589,6 +127433,12 @@ module Google
126589
127433
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsSentimentSentiment]
126590
127434
  attr_accessor :sentiment
126591
127435
 
127436
+ # Associated Short Reply video ID if the comment represents a Short Reply. See
127437
+ # go/yt-comment-sticker-m2.
127438
+ # Corresponds to the JSON property `shortReplyVideoId`
127439
+ # @return [String]
127440
+ attr_accessor :short_reply_video_id
127441
+
126592
127442
  # Smart replies for this comment. Keyed by model names.
126593
127443
  # Corresponds to the JSON property `smartReplies`
126594
127444
  # @return [Hash<String,Google::Apis::ContentwarehouseV1::VideoYoutubeCommentsClassificationProtoYouTubeCommentSmartReply>]
@@ -126748,6 +127598,7 @@ module Google
126748
127598
  @segments = args[:segments] if args.key?(:segments)
126749
127599
  @sensitivity_scores = args[:sensitivity_scores] if args.key?(:sensitivity_scores)
126750
127600
  @sentiment = args[:sentiment] if args.key?(:sentiment)
127601
+ @short_reply_video_id = args[:short_reply_video_id] if args.key?(:short_reply_video_id)
126751
127602
  @smart_replies = args[:smart_replies] if args.key?(:smart_replies)
126752
127603
  @stanza_id = args[:stanza_id] if args.key?(:stanza_id)
126753
127604
  @stanza_restrictions = args[:stanza_restrictions] if args.key?(:stanza_restrictions)