google-apis-contentwarehouse_v1 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1715,6 +1715,57 @@ module Google
1715
1715
  end
1716
1716
  end
1717
1717
 
1718
+ # Contains info on membership count for member types: HUMAN_USER, APP_USER &
1719
+ # ROSTER_MEMBER different states: INVITED, JOINED
1720
+ class AppsDynamiteSharedSegmentedMembershipCount
1721
+ include Google::Apis::Core::Hashable
1722
+
1723
+ #
1724
+ # Corresponds to the JSON property `memberType`
1725
+ # @return [String]
1726
+ attr_accessor :member_type
1727
+
1728
+ # count of members with given type and state
1729
+ # Corresponds to the JSON property `membershipCount`
1730
+ # @return [Fixnum]
1731
+ attr_accessor :membership_count
1732
+
1733
+ #
1734
+ # Corresponds to the JSON property `membershipState`
1735
+ # @return [String]
1736
+ attr_accessor :membership_state
1737
+
1738
+ def initialize(**args)
1739
+ update!(**args)
1740
+ end
1741
+
1742
+ # Update properties of this object
1743
+ def update!(**args)
1744
+ @member_type = args[:member_type] if args.key?(:member_type)
1745
+ @membership_count = args[:membership_count] if args.key?(:membership_count)
1746
+ @membership_state = args[:membership_state] if args.key?(:membership_state)
1747
+ end
1748
+ end
1749
+
1750
+ #
1751
+ class AppsDynamiteSharedSegmentedMembershipCounts
1752
+ include Google::Apis::Core::Hashable
1753
+
1754
+ #
1755
+ # Corresponds to the JSON property `value`
1756
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsDynamiteSharedSegmentedMembershipCount>]
1757
+ attr_accessor :value
1758
+
1759
+ def initialize(**args)
1760
+ update!(**args)
1761
+ end
1762
+
1763
+ # Update properties of this object
1764
+ def update!(**args)
1765
+ @value = args[:value] if args.key?(:value)
1766
+ end
1767
+ end
1768
+
1718
1769
  # A DestinationStream is a /namespace/id[0]/id[1]/.../id[n] that represents a
1719
1770
  # collection of Activities. Example destinations: -The Profile Stream on http://
1720
1771
  # plus.google.com/+JohnDoe/posts -A Square Stream on http://plus.google.com/
@@ -4606,8 +4657,9 @@ module Google
4606
4657
  end
4607
4658
 
4608
4659
  # This is deprecated in PEOPLE_API/SHARPEN, and should only be used for PROFILES.
4609
- # Which apps the person has indicated they are reachable at for the requester.
4610
- # See go/d13y and com.google.focus.proto.InAppReachability.
4660
+ # Clients should use InAppNotificationTarget field instead. Which apps the
4661
+ # person has indicated they are reachable at for the requester. See go/d13y and
4662
+ # com.google.focus.proto.InAppReachability.
4611
4663
  class AppsPeopleOzExternalMergedpeopleapiInAppReachability
4612
4664
  include Google::Apis::Core::Hashable
4613
4665
 
@@ -9856,7 +9908,7 @@ module Google
9856
9908
  end
9857
9909
  end
9858
9910
 
9859
- # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
9911
+ # The android app information of the provider. Like, Spotify. Next ID: 17 LINT.
9860
9912
  # IfChange
9861
9913
  class AssistantApiCoreTypesAndroidAppInfo
9862
9914
  include Google::Apis::Core::Hashable
@@ -9866,6 +9918,11 @@ module Google
9866
9918
  # @return [String]
9867
9919
  attr_accessor :account_type
9868
9920
 
9921
+ # General information about activities in the app.
9922
+ # Corresponds to the JSON property `activityInfo`
9923
+ # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfoActivityInfo]
9924
+ attr_accessor :activity_info
9925
+
9869
9926
  # Intent associated with the app. We include intents here as different versions
9870
9927
  # of the same app may support different intents. In those cases, the
9871
9928
  # package_name is not enough to identify the app and we should use the
@@ -9978,6 +10035,7 @@ module Google
9978
10035
  # Update properties of this object
9979
10036
  def update!(**args)
9980
10037
  @account_type = args[:account_type] if args.key?(:account_type)
10038
+ @activity_info = args[:activity_info] if args.key?(:activity_info)
9981
10039
  @android_intent = args[:android_intent] if args.key?(:android_intent)
9982
10040
  @app_unique_id = args[:app_unique_id] if args.key?(:app_unique_id)
9983
10041
  @app_version = args[:app_version] if args.key?(:app_version)
@@ -9995,12 +10053,59 @@ module Google
9995
10053
  end
9996
10054
  end
9997
10055
 
10056
+ # General information about activities in the app.
10057
+ class AssistantApiCoreTypesAndroidAppInfoActivityInfo
10058
+ include Google::Apis::Core::Hashable
10059
+
10060
+ # Activities that are currently active and tagged as ACTION_MAIN and
10061
+ # CATEGORY_LAUNCHER. Includes the activity corresponding to android_intent if it
10062
+ # falls under CATEGORY_LAUNCHER.
10063
+ # Corresponds to the JSON property `activeLaunchableActivities`
10064
+ # @return [Array<Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfoActivityInfoActivity>]
10065
+ attr_accessor :active_launchable_activities
10066
+
10067
+ def initialize(**args)
10068
+ update!(**args)
10069
+ end
10070
+
10071
+ # Update properties of this object
10072
+ def update!(**args)
10073
+ @active_launchable_activities = args[:active_launchable_activities] if args.key?(:active_launchable_activities)
10074
+ end
10075
+ end
10076
+
10077
+ # Information about an individual activity.
10078
+ class AssistantApiCoreTypesAndroidAppInfoActivityInfoActivity
10079
+ include Google::Apis::Core::Hashable
10080
+
10081
+ # The localized user visible activity name.
10082
+ # Corresponds to the JSON property `localizedActivityName`
10083
+ # @return [String]
10084
+ attr_accessor :localized_activity_name
10085
+
10086
+ # Short class name for activity, following https://developer.android.com/
10087
+ # reference/android/content/ComponentName#getShortClassName()
10088
+ # Corresponds to the JSON property `shortClassName`
10089
+ # @return [String]
10090
+ attr_accessor :short_class_name
10091
+
10092
+ def initialize(**args)
10093
+ update!(**args)
10094
+ end
10095
+
10096
+ # Update properties of this object
10097
+ def update!(**args)
10098
+ @localized_activity_name = args[:localized_activity_name] if args.key?(:localized_activity_name)
10099
+ @short_class_name = args[:short_class_name] if args.key?(:short_class_name)
10100
+ end
10101
+ end
10102
+
9998
10103
  # The change of AndroidAppInfo, e.g. app installation or deletion for
9999
10104
  # incremental delta app info upload.
10000
10105
  class AssistantApiCoreTypesAndroidAppInfoDelta
10001
10106
  include Google::Apis::Core::Hashable
10002
10107
 
10003
- # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
10108
+ # The android app information of the provider. Like, Spotify. Next ID: 17 LINT.
10004
10109
  # IfChange
10005
10110
  # Corresponds to the JSON property `androidAppInfo`
10006
10111
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfo]
@@ -11797,7 +11902,7 @@ module Google
11797
11902
  class AssistantApiCoreTypesProvider
11798
11903
  include Google::Apis::Core::Hashable
11799
11904
 
11800
- # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
11905
+ # The android app information of the provider. Like, Spotify. Next ID: 17 LINT.
11801
11906
  # IfChange
11802
11907
  # Corresponds to the JSON property `androidAppInfo`
11803
11908
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfo]
@@ -13322,6 +13427,14 @@ module Google
13322
13427
  attr_accessor :fallback_to_tethered_device_app_capabilities
13323
13428
  alias_method :fallback_to_tethered_device_app_capabilities?, :fallback_to_tethered_device_app_capabilities
13324
13429
 
13430
+ # For chat_message.SEND targeting, when either the primary or secondary (
13431
+ # tethered) device is capable of handling the chat_message.SEND action, prefer
13432
+ # targeting it to the primary device.
13433
+ # Corresponds to the JSON property `preferTargetingPrimaryDevice`
13434
+ # @return [Boolean]
13435
+ attr_accessor :prefer_targeting_primary_device
13436
+ alias_method :prefer_targeting_primary_device?, :prefer_targeting_primary_device
13437
+
13325
13438
  # Should only be checked if nonempty.
13326
13439
  # Corresponds to the JSON property `supportedRecipientTypes`
13327
13440
  # @return [Array<String>]
@@ -13334,6 +13447,7 @@ module Google
13334
13447
  # Update properties of this object
13335
13448
  def update!(**args)
13336
13449
  @fallback_to_tethered_device_app_capabilities = args[:fallback_to_tethered_device_app_capabilities] if args.key?(:fallback_to_tethered_device_app_capabilities)
13450
+ @prefer_targeting_primary_device = args[:prefer_targeting_primary_device] if args.key?(:prefer_targeting_primary_device)
13337
13451
  @supported_recipient_types = args[:supported_recipient_types] if args.key?(:supported_recipient_types)
13338
13452
  end
13339
13453
  end
@@ -14530,19 +14644,6 @@ module Google
14530
14644
  attr_accessor :face_match_enabled
14531
14645
  alias_method :face_match_enabled?, :face_match_enabled
14532
14646
 
14533
- # When true, allow data collection of audio on this device for Federated
14534
- # Learning.
14535
- # Corresponds to the JSON property `flAudioCacheEnabled`
14536
- # @return [Boolean]
14537
- attr_accessor :fl_audio_cache_enabled
14538
- alias_method :fl_audio_cache_enabled?, :fl_audio_cache_enabled
14539
-
14540
- # When true, allow data collection of frames on this device.
14541
- # Corresponds to the JSON property `flVisualFramesCacheEnabled`
14542
- # @return [Boolean]
14543
- attr_accessor :fl_visual_frames_cache_enabled
14544
- alias_method :fl_visual_frames_cache_enabled?, :fl_visual_frames_cache_enabled
14545
-
14546
14647
  # Stores GCM info associated with a device. See go/quartz-design-doc for more
14547
14648
  # info.
14548
14649
  # Corresponds to the JSON property `gcmSettings`
@@ -14855,8 +14956,6 @@ module Google
14855
14956
  @face_enrollment_errors = args[:face_enrollment_errors] if args.key?(:face_enrollment_errors)
14856
14957
  @face_enrollment_status = args[:face_enrollment_status] if args.key?(:face_enrollment_status)
14857
14958
  @face_match_enabled = args[:face_match_enabled] if args.key?(:face_match_enabled)
14858
- @fl_audio_cache_enabled = args[:fl_audio_cache_enabled] if args.key?(:fl_audio_cache_enabled)
14859
- @fl_visual_frames_cache_enabled = args[:fl_visual_frames_cache_enabled] if args.key?(:fl_visual_frames_cache_enabled)
14860
14959
  @gcm_settings = args[:gcm_settings] if args.key?(:gcm_settings)
14861
14960
  @home_graph_data = args[:home_graph_data] if args.key?(:home_graph_data)
14862
14961
  @home_graph_id = args[:home_graph_id] if args.key?(:home_graph_id)
@@ -16582,7 +16681,7 @@ module Google
16582
16681
  attr_accessor :supported_client_op
16583
16682
 
16584
16683
  # These are the set of features that are supported by the device. It's a part of
16585
- # the SoftwareCapabilities of the device. Next ID: 63
16684
+ # the SoftwareCapabilities of the device. Next ID: 64
16586
16685
  # Corresponds to the JSON property `supportedFeatures`
16587
16686
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSupportedFeatures]
16588
16687
  attr_accessor :supported_features
@@ -16976,7 +17075,7 @@ module Google
16976
17075
  end
16977
17076
 
16978
17077
  # These are the set of features that are supported by the device. It's a part of
16979
- # the SoftwareCapabilities of the device. Next ID: 63
17078
+ # the SoftwareCapabilities of the device. Next ID: 64
16980
17079
  class AssistantApiSupportedFeatures
16981
17080
  include Google::Apis::Core::Hashable
16982
17081
 
@@ -17168,6 +17267,14 @@ module Google
17168
17267
  attr_accessor :is_paired_phone_needed_for_comms
17169
17268
  alias_method :is_paired_phone_needed_for_comms?, :is_paired_phone_needed_for_comms
17170
17269
 
17270
+ # Whether the client supports confirmation flow when a permission is missing. If
17271
+ # set to true, the user will be prompted and on confirmation the original flow
17272
+ # will continue.
17273
+ # Corresponds to the JSON property `justInTimeSupported`
17274
+ # @return [Boolean]
17275
+ attr_accessor :just_in_time_supported
17276
+ alias_method :just_in_time_supported?, :just_in_time_supported
17277
+
17171
17278
  # Which way of launching the keyboard the client supports.
17172
17279
  # Corresponds to the JSON property `launchKeyboardSupported`
17173
17280
  # @return [String]
@@ -17429,6 +17536,7 @@ module Google
17429
17536
  @in_dialog_account_linking_supported = args[:in_dialog_account_linking_supported] if args.key?(:in_dialog_account_linking_supported)
17430
17537
  @is_paired_phone_contact_upload_needed_for_comms = args[:is_paired_phone_contact_upload_needed_for_comms] if args.key?(:is_paired_phone_contact_upload_needed_for_comms)
17431
17538
  @is_paired_phone_needed_for_comms = args[:is_paired_phone_needed_for_comms] if args.key?(:is_paired_phone_needed_for_comms)
17539
+ @just_in_time_supported = args[:just_in_time_supported] if args.key?(:just_in_time_supported)
17432
17540
  @launch_keyboard_supported = args[:launch_keyboard_supported] if args.key?(:launch_keyboard_supported)
17433
17541
  @lens_supported = args[:lens_supported] if args.key?(:lens_supported)
17434
17542
  @live_cards_supported = args[:live_cards_supported] if args.key?(:live_cards_supported)
@@ -18032,7 +18140,7 @@ module Google
18032
18140
  attr_accessor :kg_provider_key
18033
18141
 
18034
18142
  # The MID of the provider. A MID is a unique identifier issued by Knowledge
18035
- # Graph for all entities contained in it's graph.
18143
+ # Graph for all entities contained in its graph.
18036
18144
  # Corresponds to the JSON property `mid`
18037
18145
  # @return [String]
18038
18146
  attr_accessor :mid
@@ -18114,17 +18222,11 @@ module Google
18114
18222
  attr_accessor :media_provider_id
18115
18223
 
18116
18224
  # The MID of the provider. A MID is a unique identifier issued by Knowledge
18117
- # Graph for all entities contained in it's graph.
18225
+ # Graph for all entities contained in its graph.
18118
18226
  # Corresponds to the JSON property `mid`
18119
18227
  # @return [String]
18120
18228
  attr_accessor :mid
18121
18229
 
18122
- # Represents how to naturally identify a provider. A copy of google3/assistant/
18123
- # serviceengine/proto/serving/natural_provider_id.proto.
18124
- # Corresponds to the JSON property `naturalProviderId`
18125
- # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderIdNaturalProviderId]
18126
- attr_accessor :natural_provider_id
18127
-
18128
18230
  # ID issued by the Provider Corpus to uniquely identify a provider entity e.g.
18129
18231
  # an Android app, a Cast app or a Cloud provider. In practice, a single partner
18130
18232
  # can have multiple providers entities. For more detail, see go/se-storage-
@@ -18154,38 +18256,11 @@ module Google
18154
18256
  @ecosystem_type = args[:ecosystem_type] if args.key?(:ecosystem_type)
18155
18257
  @media_provider_id = args[:media_provider_id] if args.key?(:media_provider_id)
18156
18258
  @mid = args[:mid] if args.key?(:mid)
18157
- @natural_provider_id = args[:natural_provider_id] if args.key?(:natural_provider_id)
18158
18259
  @provider_corpus_id = args[:provider_corpus_id] if args.key?(:provider_corpus_id)
18159
18260
  @provider_variant = args[:provider_variant] if args.key?(:provider_variant)
18160
18261
  end
18161
18262
  end
18162
18263
 
18163
- # Represents how to naturally identify a provider. A copy of google3/assistant/
18164
- # serviceengine/proto/serving/natural_provider_id.proto.
18165
- class AssistantContextProviderIdNaturalProviderId
18166
- include Google::Apis::Core::Hashable
18167
-
18168
- # ProviderType is an enum to represent the category of where this id is from.
18169
- # Corresponds to the JSON property `providerType`
18170
- # @return [String]
18171
- attr_accessor :provider_type
18172
-
18173
- # String of provider_id_value is the actual value of the id.
18174
- # Corresponds to the JSON property `value`
18175
- # @return [String]
18176
- attr_accessor :value
18177
-
18178
- def initialize(**args)
18179
- update!(**args)
18180
- end
18181
-
18182
- # Update properties of this object
18183
- def update!(**args)
18184
- @provider_type = args[:provider_type] if args.key?(:provider_type)
18185
- @value = args[:value] if args.key?(:value)
18186
- end
18187
- end
18188
-
18189
18264
  # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18190
18265
  # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18191
18266
  # end up using surface specific identifiers (e.g. Android package names, iOS
@@ -18394,6 +18469,19 @@ module Google
18394
18469
  end
18395
18470
  end
18396
18471
 
18472
+ #
18473
+ class AssistantDevicesPlatformProtoCoreDismissAssistantCapability
18474
+ include Google::Apis::Core::Hashable
18475
+
18476
+ def initialize(**args)
18477
+ update!(**args)
18478
+ end
18479
+
18480
+ # Update properties of this object
18481
+ def update!(**args)
18482
+ end
18483
+ end
18484
+
18397
18485
  # This capability represents device action needed capability. Next ID: 10
18398
18486
  class AssistantDevicesPlatformProtoDeviceActionCapability
18399
18487
  include Google::Apis::Core::Hashable
@@ -18622,6 +18710,7 @@ module Google
18622
18710
 
18623
18711
  # This message will specify supports for fields in |assistant.embedded.v1.
18624
18712
  # DeviceOp|, for a device model package. See go/easi-client-op2 for more info.
18713
+ # Next ID: 16
18625
18714
  # Corresponds to the JSON property `supportedDeviceOps`
18626
18715
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoSupportedDeviceOps]
18627
18716
  attr_accessor :supported_device_ops
@@ -18931,6 +19020,19 @@ module Google
18931
19020
  end
18932
19021
  end
18933
19022
 
19023
+ #
19024
+ class AssistantDevicesPlatformProtoMediaShowControlsCapability
19025
+ include Google::Apis::Core::Hashable
19026
+
19027
+ def initialize(**args)
19028
+ update!(**args)
19029
+ end
19030
+
19031
+ # Update properties of this object
19032
+ def update!(**args)
19033
+ end
19034
+ end
19035
+
18934
19036
  #
18935
19037
  class AssistantDevicesPlatformProtoMediaStopCapability
18936
19038
  include Google::Apis::Core::Hashable
@@ -19091,6 +19193,7 @@ module Google
19091
19193
 
19092
19194
  # This message will specify supports for fields in |assistant.embedded.v1.
19093
19195
  # DeviceOp|, for a device model package. See go/easi-client-op2 for more info.
19196
+ # Next ID: 16
19094
19197
  class AssistantDevicesPlatformProtoSupportedDeviceOps
19095
19198
  include Google::Apis::Core::Hashable
19096
19199
 
@@ -19108,6 +19211,13 @@ module Google
19108
19211
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoClientReconnectCapability]
19109
19212
  attr_accessor :client_reconnect
19110
19213
 
19214
+ # [core_dismiss_assistant] specifies the support for core.DISMISS_ASSISTANT
19215
+ # client_op and the corresponding core_dismiss_assistant field in assistant.
19216
+ # embedded.v1.DeviceOp.
19217
+ # Corresponds to the JSON property `coreDismissAssistant`
19218
+ # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoCoreDismissAssistantCapability]
19219
+ attr_accessor :core_dismiss_assistant
19220
+
19111
19221
  # |device_modify_setting| specifies the support for device.MODIFY_SETTING
19112
19222
  # client_op, and the corresponding device_modify_setting field in assistant.
19113
19223
  # embedded.v1.DeviceOp.
@@ -19147,6 +19257,11 @@ module Google
19147
19257
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaResumeCapability]
19148
19258
  attr_accessor :media_resume
19149
19259
 
19260
+ #
19261
+ # Corresponds to the JSON property `mediaShowControls`
19262
+ # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaShowControlsCapability]
19263
+ attr_accessor :media_show_controls
19264
+
19150
19265
  #
19151
19266
  # Corresponds to the JSON property `mediaStop`
19152
19267
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaStopCapability]
@@ -19179,6 +19294,7 @@ module Google
19179
19294
  def update!(**args)
19180
19295
  @call_call = args[:call_call] if args.key?(:call_call)
19181
19296
  @client_reconnect = args[:client_reconnect] if args.key?(:client_reconnect)
19297
+ @core_dismiss_assistant = args[:core_dismiss_assistant] if args.key?(:core_dismiss_assistant)
19182
19298
  @device_modify_setting = args[:device_modify_setting] if args.key?(:device_modify_setting)
19183
19299
  @device_take_photo = args[:device_take_photo] if args.key?(:device_take_photo)
19184
19300
  @media_next = args[:media_next] if args.key?(:media_next)
@@ -19186,6 +19302,7 @@ module Google
19186
19302
  @media_play_media = args[:media_play_media] if args.key?(:media_play_media)
19187
19303
  @media_previous = args[:media_previous] if args.key?(:media_previous)
19188
19304
  @media_resume = args[:media_resume] if args.key?(:media_resume)
19305
+ @media_show_controls = args[:media_show_controls] if args.key?(:media_show_controls)
19189
19306
  @media_stop = args[:media_stop] if args.key?(:media_stop)
19190
19307
  @provider_fulfill = args[:provider_fulfill] if args.key?(:provider_fulfill)
19191
19308
  @provider_open = args[:provider_open] if args.key?(:provider_open)
@@ -19561,12 +19678,12 @@ module Google
19561
19678
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceGroundingProviderFeatures]
19562
19679
  attr_accessor :device_grounding_provider_features
19563
19680
 
19564
- # Features to be passed from Media GP to HGR. Next ID: 12
19681
+ # Features to be passed from Media GP to HGR. Next ID: 14
19565
19682
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
19566
19683
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
19567
19684
  attr_accessor :media_grounding_provider_features
19568
19685
 
19569
- # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
19686
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 4
19570
19687
  # Corresponds to the JSON property `podcastGroundingProviderFeatures`
19571
19688
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerPodcastGroundingProviderFeatures]
19572
19689
  attr_accessor :podcast_grounding_provider_features
@@ -19590,6 +19707,31 @@ module Google
19590
19707
  end
19591
19708
  end
19592
19709
 
19710
+ #
19711
+ class AssistantGroundingRankerLaaFeature
19712
+ include Google::Apis::Core::Hashable
19713
+
19714
+ #
19715
+ # Corresponds to the JSON property `name`
19716
+ # @return [String]
19717
+ attr_accessor :name
19718
+
19719
+ #
19720
+ # Corresponds to the JSON property `value`
19721
+ # @return [Float]
19722
+ attr_accessor :value
19723
+
19724
+ def initialize(**args)
19725
+ update!(**args)
19726
+ end
19727
+
19728
+ # Update properties of this object
19729
+ def update!(**args)
19730
+ @name = args[:name] if args.key?(:name)
19731
+ @value = args[:value] if args.key?(:value)
19732
+ end
19733
+ end
19734
+
19593
19735
  #
19594
19736
  class AssistantGroundingRankerLaaFeatures
19595
19737
  include Google::Apis::Core::Hashable
@@ -19609,6 +19751,11 @@ module Google
19609
19751
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesContact]
19610
19752
  attr_accessor :contact
19611
19753
 
19754
+ #
19755
+ # Corresponds to the JSON property `features`
19756
+ # @return [Array<Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeature>]
19757
+ attr_accessor :features
19758
+
19612
19759
  #
19613
19760
  # Corresponds to the JSON property `provider`
19614
19761
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesProvider]
@@ -19623,6 +19770,7 @@ module Google
19623
19770
  @binding_set = args[:binding_set] if args.key?(:binding_set)
19624
19771
  @communication_endpoint = args[:communication_endpoint] if args.key?(:communication_endpoint)
19625
19772
  @contact = args[:contact] if args.key?(:contact)
19773
+ @features = args[:features] if args.key?(:features)
19626
19774
  @provider = args[:provider] if args.key?(:provider)
19627
19775
  end
19628
19776
  end
@@ -19709,7 +19857,7 @@ module Google
19709
19857
  end
19710
19858
  end
19711
19859
 
19712
- # Features to be passed from Media GP to HGR. Next ID: 12
19860
+ # Features to be passed from Media GP to HGR. Next ID: 14
19713
19861
  class AssistantGroundingRankerMediaGroundingProviderFeatures
19714
19862
  include Google::Apis::Core::Hashable
19715
19863
 
@@ -19757,6 +19905,15 @@ module Google
19757
19905
  attr_accessor :is_seed_radio_request
19758
19906
  alias_method :is_seed_radio_request?, :is_seed_radio_request
19759
19907
 
19908
+ # MediaAquaAction::media_content_type from interpretation. It can be used for
19909
+ # cross-content type ranking, for example, if a candidate's content type does
19910
+ # not match this content type from interpretation, this candidate will be
19911
+ # slightly demoted. Also, we might avoid fetching some signals when the content
19912
+ # type is generic music, since some content types do not need ranking.
19913
+ # Corresponds to the JSON property `mediaContentType`
19914
+ # @return [String]
19915
+ attr_accessor :media_content_type
19916
+
19760
19917
  # MSC(Media Short Click) rate. MSC rate = total number of MSC events / total
19761
19918
  # number of MSC candidates The event is considered as MSC candidate if the event
19762
19919
  # is a media seeking query(excluding follow-ons) and the media result is
@@ -19769,12 +19926,20 @@ module Google
19769
19926
  # @return [Float]
19770
19927
  attr_accessor :msc_rate
19771
19928
 
19772
- # Scubed predicted SAI value (pSAI) for music populated by a regression model
19773
- # that incorporates a BERT model signal as well as other Scubed signals.
19929
+ # Scubed predicted SAI value (pSAI - SCUBED_MUSIC_ACTIONS) for music populated
19930
+ # by a regression model that incorporates a BERT model signal as well as other
19931
+ # Scubed signals.
19774
19932
  # Corresponds to the JSON property `scubedPSaiMusic`
19775
19933
  # @return [Float]
19776
19934
  attr_accessor :scubed_p_sai_music
19777
19935
 
19936
+ # Scubed predicted SAI value (pSAI - SCUBED_TVM_ACTIONS) for music populated by
19937
+ # a regression model that incorporates a BERT model signal as well as other
19938
+ # Scubed signals.
19939
+ # Corresponds to the JSON property `scubedPSaiTvm`
19940
+ # @return [Float]
19941
+ attr_accessor :scubed_p_sai_tvm
19942
+
19778
19943
  # Type of the media item.
19779
19944
  # Corresponds to the JSON property `type`
19780
19945
  # @return [String]
@@ -19798,14 +19963,16 @@ module Google
19798
19963
  @is_media_search_query_subset_of_entity_name_and_artist = args[:is_media_search_query_subset_of_entity_name_and_artist] if args.key?(:is_media_search_query_subset_of_entity_name_and_artist)
19799
19964
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
19800
19965
  @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
19966
+ @media_content_type = args[:media_content_type] if args.key?(:media_content_type)
19801
19967
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
19802
19968
  @scubed_p_sai_music = args[:scubed_p_sai_music] if args.key?(:scubed_p_sai_music)
19969
+ @scubed_p_sai_tvm = args[:scubed_p_sai_tvm] if args.key?(:scubed_p_sai_tvm)
19803
19970
  @type = args[:type] if args.key?(:type)
19804
19971
  @youtube_confidence_score = args[:youtube_confidence_score] if args.key?(:youtube_confidence_score)
19805
19972
  end
19806
19973
  end
19807
19974
 
19808
- # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
19975
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 4
19809
19976
  class AssistantGroundingRankerPodcastGroundingProviderFeatures
19810
19977
  include Google::Apis::Core::Hashable
19811
19978
 
@@ -19815,6 +19982,16 @@ module Google
19815
19982
  attr_accessor :is_exclusive
19816
19983
  alias_method :is_exclusive?, :is_exclusive
19817
19984
 
19985
+ # The relevance score from Scubed.
19986
+ # Corresponds to the JSON property `scubedNg3ModelScore`
19987
+ # @return [Float]
19988
+ attr_accessor :scubed_ng3_model_score
19989
+
19990
+ # Tstar score is a signal that indicates the quality of the entity.
19991
+ # Corresponds to the JSON property `scubedTstarScore`
19992
+ # @return [Float]
19993
+ attr_accessor :scubed_tstar_score
19994
+
19818
19995
  def initialize(**args)
19819
19996
  update!(**args)
19820
19997
  end
@@ -19822,6 +19999,8 @@ module Google
19822
19999
  # Update properties of this object
19823
20000
  def update!(**args)
19824
20001
  @is_exclusive = args[:is_exclusive] if args.key?(:is_exclusive)
20002
+ @scubed_ng3_model_score = args[:scubed_ng3_model_score] if args.key?(:scubed_ng3_model_score)
20003
+ @scubed_tstar_score = args[:scubed_tstar_score] if args.key?(:scubed_tstar_score)
19825
20004
  end
19826
20005
  end
19827
20006
 
@@ -19838,9 +20017,9 @@ module Google
19838
20017
 
19839
20018
  # Cluster IDs for the provider. This field is repeated because some providers
19840
20019
  # can be associated with multiple clusters. PRR specific feature.
19841
- # Corresponds to the JSON property `providerClusterId`
20020
+ # Corresponds to the JSON property `providerClusterIdDeprecated`
19842
20021
  # @return [Array<String>]
19843
- attr_accessor :provider_cluster_id
20022
+ attr_accessor :provider_cluster_id_deprecated
19844
20023
 
19845
20024
  # Identifier used to represent a single application (a.k.a. provider). This
19846
20025
  # model represents the surface-agnostic counterpart for assistant.api.core_types.
@@ -19876,7 +20055,7 @@ module Google
19876
20055
  # Update properties of this object
19877
20056
  def update!(**args)
19878
20057
  @is_in_app_provider = args[:is_in_app_provider] if args.key?(:is_in_app_provider)
19879
- @provider_cluster_id = args[:provider_cluster_id] if args.key?(:provider_cluster_id)
20058
+ @provider_cluster_id_deprecated = args[:provider_cluster_id_deprecated] if args.key?(:provider_cluster_id_deprecated)
19880
20059
  @provider_id = args[:provider_id] if args.key?(:provider_id)
19881
20060
  @psl_score = args[:psl_score] if args.key?(:psl_score)
19882
20061
  end
@@ -21498,7 +21677,7 @@ module Google
21498
21677
 
21499
21678
  # Signals to be used by the Prefulfillment Ranker. Derived from the
21500
21679
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
21501
- # Next ID: 48
21680
+ # Next ID: 52
21502
21681
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
21503
21682
  include Google::Apis::Core::Hashable
21504
21683
 
@@ -21544,6 +21723,13 @@ module Google
21544
21723
  attr_accessor :fulfillable_dominant_media
21545
21724
  alias_method :fulfillable_dominant_media?, :fulfillable_dominant_media
21546
21725
 
21726
+ # Whether or not the intent was generated by a legacy Aqua domain that PFR
21727
+ # should care about.
21728
+ # Corresponds to the JSON property `generatedByLegacyAquaDomain`
21729
+ # @return [Boolean]
21730
+ attr_accessor :generated_by_legacy_aqua_domain
21731
+ alias_method :generated_by_legacy_aqua_domain?, :generated_by_legacy_aqua_domain
21732
+
21547
21733
  # Grounding Signals. Score indicating how grounded the intent is, populated by
21548
21734
  # the Grounding Box.
21549
21735
  # Corresponds to the JSON property `groundabilityScore`
@@ -21585,6 +21771,11 @@ module Google
21585
21771
  # @return [Float]
21586
21772
  attr_accessor :intent_name_auis_score_exp
21587
21773
 
21774
+ # Intent level Pauis User Interaction Score.
21775
+ # Corresponds to the JSON property `intentNamePauis`
21776
+ # @return [Float]
21777
+ attr_accessor :intent_name_pauis
21778
+
21588
21779
  # Feasibility of fulfilling the binding set. Eg: For PlayMedia, this is
21589
21780
  # equivalent to playability. More details: go/hgr-feasibility-feature.
21590
21781
  # Corresponds to the JSON property `isFeasible`
@@ -21616,6 +21807,12 @@ module Google
21616
21807
  attr_accessor :is_podcast_intent
21617
21808
  alias_method :is_podcast_intent?, :is_podcast_intent
21618
21809
 
21810
+ # Whether the intent is a media object video intent.
21811
+ # Corresponds to the JSON property `isVideoIntent`
21812
+ # @return [Boolean]
21813
+ attr_accessor :is_video_intent
21814
+ alias_method :is_video_intent?, :is_video_intent
21815
+
21619
21816
  # The rank order of the interpretation as determined by kscorer. The kscorer-
21620
21817
  # determined dominant interpretation, if any, gets a rank of 0. The remaining N
21621
21818
  # interpretations get a rank of 1 through N.
@@ -21694,6 +21891,11 @@ module Google
21694
21891
  # @return [Fixnum]
21695
21892
  attr_accessor :parsing_score_mse8_bucket_id
21696
21893
 
21894
+ # Query understanding phase the intent was produced in.
21895
+ # Corresponds to the JSON property `phase`
21896
+ # @return [String]
21897
+ attr_accessor :phase
21898
+
21697
21899
  # Cosine similarity between predicted query-to-term model and assistant intent-
21698
21900
  # type-based salient terms. This is intended to be only used for ACE ranking and
21699
21901
  # only populated for assistant traffic.
@@ -21760,6 +21962,7 @@ module Google
21760
21962
  @dominant = args[:dominant] if args.key?(:dominant)
21761
21963
  @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
21762
21964
  @fulfillable_dominant_media = args[:fulfillable_dominant_media] if args.key?(:fulfillable_dominant_media)
21965
+ @generated_by_legacy_aqua_domain = args[:generated_by_legacy_aqua_domain] if args.key?(:generated_by_legacy_aqua_domain)
21763
21966
  @groundability_score = args[:groundability_score] if args.key?(:groundability_score)
21764
21967
  @grounding_provider_features = args[:grounding_provider_features] if args.key?(:grounding_provider_features)
21765
21968
  @has_answer_group = args[:has_answer_group] if args.key?(:has_answer_group)
@@ -21767,11 +21970,13 @@ module Google
21767
21970
  @intent_name = args[:intent_name] if args.key?(:intent_name)
21768
21971
  @intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
21769
21972
  @intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
21973
+ @intent_name_pauis = args[:intent_name_pauis] if args.key?(:intent_name_pauis)
21770
21974
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
21771
21975
  @is_fully_grounded = args[:is_fully_grounded] if args.key?(:is_fully_grounded)
21772
21976
  @is_media_control_intent = args[:is_media_control_intent] if args.key?(:is_media_control_intent)
21773
21977
  @is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
21774
21978
  @is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
21979
+ @is_video_intent = args[:is_video_intent] if args.key?(:is_video_intent)
21775
21980
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
21776
21981
  @laa_features = args[:laa_features] if args.key?(:laa_features)
21777
21982
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
@@ -21785,6 +21990,7 @@ module Google
21785
21990
  @num_variables = args[:num_variables] if args.key?(:num_variables)
21786
21991
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
21787
21992
  @parsing_score_mse8_bucket_id = args[:parsing_score_mse8_bucket_id] if args.key?(:parsing_score_mse8_bucket_id)
21993
+ @phase = args[:phase] if args.key?(:phase)
21788
21994
  @pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
21789
21995
  @pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
21790
21996
  @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
@@ -24003,7 +24209,7 @@ module Google
24003
24209
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornClassifierData]
24004
24210
  attr_accessor :classifierdata
24005
24211
 
24006
- # Next ID: 52
24212
+ # Next ID: 53
24007
24213
  # Corresponds to the JSON property `sitedata`
24008
24214
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornSiteData]
24009
24215
  attr_accessor :sitedata
@@ -24201,7 +24407,7 @@ module Google
24201
24407
  end
24202
24408
  end
24203
24409
 
24204
- # Next ID: 52
24410
+ # Next ID: 53
24205
24411
  class ClassifierPornSiteData
24206
24412
  include Google::Apis::Core::Hashable
24207
24413
 
@@ -24246,6 +24452,11 @@ module Google
24246
24452
  # @return [Array<Google::Apis::ContentwarehouseV1::ClassifierPornSiteDataVersionedScore>]
24247
24453
  attr_accessor :versionedscore
24248
24454
 
24455
+ # The cubic mean aggregation of violence page scores in the site.
24456
+ # Corresponds to the JSON property `violenceScore`
24457
+ # @return [Float]
24458
+ attr_accessor :violence_score
24459
+
24249
24460
  # Next ID: 6
24250
24461
  # Corresponds to the JSON property `violenceStats`
24251
24462
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornSiteViolenceStats]
@@ -24265,6 +24476,7 @@ module Google
24265
24476
  @site_porn_ratio = args[:site_porn_ratio] if args.key?(:site_porn_ratio)
24266
24477
  @site_softporn_ratio = args[:site_softporn_ratio] if args.key?(:site_softporn_ratio)
24267
24478
  @versionedscore = args[:versionedscore] if args.key?(:versionedscore)
24479
+ @violence_score = args[:violence_score] if args.key?(:violence_score)
24268
24480
  @violence_stats = args[:violence_stats] if args.key?(:violence_stats)
24269
24481
  end
24270
24482
  end
@@ -25135,7 +25347,7 @@ module Google
25135
25347
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
25136
25348
  # available tag deprecated, use this (and look for commented out fields): blaze-
25137
25349
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
25138
- # perdocdata.proto Next tag: 221
25350
+ # perdocdata.proto Next tag: 222
25139
25351
  # Corresponds to the JSON property `perDocData`
25140
25352
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
25141
25353
  attr_accessor :per_doc_data
@@ -25499,7 +25711,7 @@ module Google
25499
25711
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
25500
25712
  # available tag deprecated, use this (and look for commented out fields): blaze-
25501
25713
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
25502
- # perdocdata.proto Next tag: 221
25714
+ # perdocdata.proto Next tag: 222
25503
25715
  # Corresponds to the JSON property `perDocData`
25504
25716
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
25505
25717
  attr_accessor :per_doc_data
@@ -35151,6 +35363,16 @@ module Google
35151
35363
  class GeostoreInternalSegmentProto
35152
35364
  include Google::Apis::Core::Hashable
35153
35365
 
35366
+ # RESERVED
35367
+ # Corresponds to the JSON property `disallowedConnections`
35368
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
35369
+ attr_accessor :disallowed_connections
35370
+
35371
+ # RESERVED
35372
+ # Corresponds to the JSON property `disallowedPrimaryConnection`
35373
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
35374
+ attr_accessor :disallowed_primary_connection
35375
+
35154
35376
  # The set of restrictions that apply to this segment; these are actually *
35155
35377
  # POSITIVE* restrictions, i.e. they are known to be allowed.
35156
35378
  # Corresponds to the JSON property `travelAllowance`
@@ -35163,10 +35385,59 @@ module Google
35163
35385
 
35164
35386
  # Update properties of this object
35165
35387
  def update!(**args)
35388
+ @disallowed_connections = args[:disallowed_connections] if args.key?(:disallowed_connections)
35389
+ @disallowed_primary_connection = args[:disallowed_primary_connection] if args.key?(:disallowed_primary_connection)
35166
35390
  @travel_allowance = args[:travel_allowance] if args.key?(:travel_allowance)
35167
35391
  end
35168
35392
  end
35169
35393
 
35394
+ # Specifies a single outgoing lane connection.
35395
+ class GeostoreInternalSegmentProtoLaneConnectionReference
35396
+ include Google::Apis::Core::Hashable
35397
+
35398
+ # The lane number on this segment.
35399
+ # Corresponds to the JSON property `fromLaneNumber`
35400
+ # @return [Fixnum]
35401
+ attr_accessor :from_lane_number
35402
+
35403
+ # A globally unique identifier associated with each feature. We use 128-bit
35404
+ # identifiers so that we have lots of bits available to distinguish between
35405
+ # features. The feature id currently consists of a 64-bit "cell id" that **
35406
+ # sometimes** corresponds to the approximate centroid of the feature, plus a 64-
35407
+ # bit fingerprint of other identifying information. See more on each respective
35408
+ # field in its comments. Feature ids are first assigned when the data is created
35409
+ # in MapFacts. After initial creation of the feature, they are immutable. This
35410
+ # means that the only properties that you should rely on are that they are
35411
+ # unique, and that cell_ids often - but not always - preserve spatial locality.
35412
+ # The degree of locality varies as the feature undergoes geometry changes, and
35413
+ # should not in general be considered a firm guarantee of the location of any
35414
+ # particular feature. In fact, some locationless features have randomized cell
35415
+ # IDs! Consumers of FeatureProtos from Mapfacts are guaranteed that fprints in
35416
+ # the id field of features will be globally unique. Using the fprint allows
35417
+ # consumers who don't need the spatial benefit of cell ids to uniquely identify
35418
+ # features in a 64-bit address space. This property is not guaranteed for other
35419
+ # sources of FeatureProtos.
35420
+ # Corresponds to the JSON property `segment`
35421
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
35422
+ attr_accessor :segment
35423
+
35424
+ # This is the lane number on the target segment.
35425
+ # Corresponds to the JSON property `toLaneNumber`
35426
+ # @return [Fixnum]
35427
+ attr_accessor :to_lane_number
35428
+
35429
+ def initialize(**args)
35430
+ update!(**args)
35431
+ end
35432
+
35433
+ # Update properties of this object
35434
+ def update!(**args)
35435
+ @from_lane_number = args[:from_lane_number] if args.key?(:from_lane_number)
35436
+ @segment = args[:segment] if args.key?(:segment)
35437
+ @to_lane_number = args[:to_lane_number] if args.key?(:to_lane_number)
35438
+ end
35439
+ end
35440
+
35170
35441
  #
35171
35442
  class GeostoreInternalSourceSummaryProto
35172
35443
  include Google::Apis::Core::Hashable
@@ -38725,11 +38996,12 @@ module Google
38725
38996
 
38726
38997
  # Detailed information about each lane in this direction, if available. Lanes
38727
38998
  # are numbered from inside of the road outward, i.e. the lane next to the center
38728
- # line is lane 0. Note that lanes that are valid for travel in both directions
38729
- # appear in both segments of a segment pair (left turn lanes, one-lane roads,
38730
- # some passing lanes, reversing lanes). Some lanes may not be usable by cars,
38731
- # such as bike lanes. Also, some lanes may not exist along the entire segment, e.
38732
- # g. left- or right-turn lanes that appear just before the intersection.
38999
+ # line has lane_number 0. Note that lanes that are valid for travel in both
39000
+ # directions appear in both segments of a segment pair (left turn lanes, one-
39001
+ # lane roads, some passing lanes, reversing lanes). Some lanes may not be usable
39002
+ # by cars, such as bike lanes. Also, some lanes may not exist along the entire
39003
+ # segment, e.g. left- or right-turn lanes that appear just before the
39004
+ # intersection.
38733
39005
  # Corresponds to the JSON property `lane`
38734
39006
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreLaneProto>]
38735
39007
  attr_accessor :lane
@@ -38894,7 +39166,11 @@ module Google
38894
39166
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
38895
39167
  attr_accessor :sibling
38896
39168
 
38897
- # RESERVED
39169
+ # Each slope instance is tied to a point along the segment polyline (unrelated
39170
+ # to the vertices in the segment's polyline) and represents the slope of the
39171
+ # segment between that point and the point tied to the next slope istance, or
39172
+ # the end of the segment if it's the last slope instance. A segment should have
39173
+ # at least one slope.
38898
39174
  # Corresponds to the JSON property `slope`
38899
39175
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreSlopeProto>]
38900
39176
  attr_accessor :slope
@@ -43198,7 +43474,7 @@ module Google
43198
43474
 
43199
43475
  # Information about the state of the device. This contains any state that
43200
43476
  # Assistant may need to know about in order to fulfill requests, for example
43201
- # which timers and alarms are set. Next ID: 9
43477
+ # which timers and alarms are set. Next ID: 10
43202
43478
  class GoogleAssistantAccessoryV1DeviceState
43203
43479
  include Google::Apis::Core::Hashable
43204
43480
 
@@ -43291,7 +43567,7 @@ module Google
43291
43567
 
43292
43568
  # Information about the state of the device. This contains any state that
43293
43569
  # Assistant may need to know about in order to fulfill requests, for example
43294
- # which timers and alarms are set. Next ID: 9
43570
+ # which timers and alarms are set. Next ID: 10
43295
43571
  # Corresponds to the JSON property `deviceState`
43296
43572
  # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantAccessoryV1DeviceState]
43297
43573
  attr_accessor :device_state
@@ -44300,6 +44576,12 @@ module Google
44300
44576
  # @return [String]
44301
44577
  attr_accessor :display_uri
44302
44578
 
44579
+ # Output only. If linked to a Collection with RetentionPolicy, the date when the
44580
+ # document becomes mutable.
44581
+ # Corresponds to the JSON property `dispositionTime`
44582
+ # @return [String]
44583
+ attr_accessor :disposition_time
44584
+
44303
44585
  # The Document schema name. Format: projects/`project_number`/locations/`
44304
44586
  # location`/documentSchemas/`document_schema_id`.
44305
44587
  # Corresponds to the JSON property `documentSchemaName`
@@ -44387,6 +44669,7 @@ module Google
44387
44669
  @creator = args[:creator] if args.key?(:creator)
44388
44670
  @display_name = args[:display_name] if args.key?(:display_name)
44389
44671
  @display_uri = args[:display_uri] if args.key?(:display_uri)
44672
+ @disposition_time = args[:disposition_time] if args.key?(:disposition_time)
44390
44673
  @document_schema_name = args[:document_schema_name] if args.key?(:document_schema_name)
44391
44674
  @inline_raw_document = args[:inline_raw_document] if args.key?(:inline_raw_document)
44392
44675
  @name = args[:name] if args.key?(:name)
@@ -46162,6 +46445,11 @@ module Google
46162
46445
  # @return [Array<String>]
46163
46446
  attr_accessor :documents
46164
46447
 
46448
+ # The output Cloud Storage folder in this pipeline.
46449
+ # Corresponds to the JSON property `outputPath`
46450
+ # @return [String]
46451
+ attr_accessor :output_path
46452
+
46165
46453
  def initialize(**args)
46166
46454
  update!(**args)
46167
46455
  end
@@ -46170,6 +46458,7 @@ module Google
46170
46458
  def update!(**args)
46171
46459
  @doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
46172
46460
  @documents = args[:documents] if args.key?(:documents)
46461
+ @output_path = args[:output_path] if args.key?(:output_path)
46173
46462
  end
46174
46463
  end
46175
46464
 
@@ -47204,9 +47493,9 @@ module Google
47204
47493
  attr_accessor :text_styles
47205
47494
 
47206
47495
  # Optional. Currently supports Google Cloud Storage URI of the form `gs://
47207
- # bucket_name/object_name`. Object versioning is not supported. See [Google
47208
- # Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
47209
- # uris) for more info.
47496
+ # bucket_name/object_name`. Object versioning is not supported. For more
47497
+ # information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
47498
+ # com/storage/docs/reference-uris).
47210
47499
  # Corresponds to the JSON property `uri`
47211
47500
  # @return [String]
47212
47501
  attr_accessor :uri
@@ -48209,6 +48498,11 @@ module Google
48209
48498
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentProvenance]
48210
48499
  attr_accessor :provenance
48211
48500
 
48501
+ # Font and other text style attributes.
48502
+ # Corresponds to the JSON property `styleInfo`
48503
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo]
48504
+ attr_accessor :style_info
48505
+
48212
48506
  def initialize(**args)
48213
48507
  update!(**args)
48214
48508
  end
@@ -48219,6 +48513,7 @@ module Google
48219
48513
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
48220
48514
  @layout = args[:layout] if args.key?(:layout)
48221
48515
  @provenance = args[:provenance] if args.key?(:provenance)
48516
+ @style_info = args[:style_info] if args.key?(:style_info)
48222
48517
  end
48223
48518
  end
48224
48519
 
@@ -48241,6 +48536,206 @@ module Google
48241
48536
  end
48242
48537
  end
48243
48538
 
48539
+ # Font and other text style attributes.
48540
+ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
48541
+ include Google::Apis::Core::Hashable
48542
+
48543
+ # Represents a color in the RGBA color space. This representation is designed
48544
+ # for simplicity of conversion to/from color representations in various
48545
+ # languages over compactness. For example, the fields of this representation can
48546
+ # be trivially provided to the constructor of `java.awt.Color` in Java; it can
48547
+ # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
48548
+ # method in iOS; and, with just a little work, it can be easily formatted into a
48549
+ # CSS `rgba()` string in JavaScript. This reference page doesn't carry
48550
+ # information about the absolute color space that should be used to interpret
48551
+ # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
48552
+ # applications should assume the sRGB color space. When color equality needs to
48553
+ # be decided, implementations, unless documented otherwise, treat two colors as
48554
+ # equal if all their red, green, blue, and alpha values each differ by at most
48555
+ # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
48556
+ # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
48557
+ # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
48558
+ # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
48559
+ # Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
48560
+ # float green = (float) color.getGreen(); float blue = (float) color.getBlue();
48561
+ # float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
48562
+ # setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
48563
+ # denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
48564
+ # setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
48565
+ # build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
48566
+ # . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
48567
+ # float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
48568
+ # alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
48569
+ # nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
48570
+ # green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
48571
+ # CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
48572
+ # blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
48573
+ # result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
48574
+ # = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
48575
+ # autorelease]; return result; ` // ... Example (JavaScript): // ... var
48576
+ # protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
48577
+ # var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
48578
+ # var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
48579
+ # var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
48580
+ # rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
48581
+ # 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
48582
+ # ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
48583
+ # ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
48584
+ # = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
48585
+ # resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
48586
+ # push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
48587
+ # / ...
48588
+ # Corresponds to the JSON property `backgroundColor`
48589
+ # @return [Google::Apis::ContentwarehouseV1::GoogleTypeColor]
48590
+ attr_accessor :background_color
48591
+
48592
+ # Whether the text is bold (equivalent to font_weight is at least `700`).
48593
+ # Corresponds to the JSON property `bold`
48594
+ # @return [Boolean]
48595
+ attr_accessor :bold
48596
+ alias_method :bold?, :bold
48597
+
48598
+ # Font size in points (`1` point is `¹⁄₇₂` inches).
48599
+ # Corresponds to the JSON property `fontSize`
48600
+ # @return [Fixnum]
48601
+ attr_accessor :font_size
48602
+
48603
+ # Name or style of the font.
48604
+ # Corresponds to the JSON property `fontType`
48605
+ # @return [String]
48606
+ attr_accessor :font_type
48607
+
48608
+ # TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
48609
+ # 400`, bold is `700`.
48610
+ # Corresponds to the JSON property `fontWeight`
48611
+ # @return [Fixnum]
48612
+ attr_accessor :font_weight
48613
+
48614
+ # Whether the text is handwritten.
48615
+ # Corresponds to the JSON property `handwritten`
48616
+ # @return [Boolean]
48617
+ attr_accessor :handwritten
48618
+ alias_method :handwritten?, :handwritten
48619
+
48620
+ # Whether the text is italic.
48621
+ # Corresponds to the JSON property `italic`
48622
+ # @return [Boolean]
48623
+ attr_accessor :italic
48624
+ alias_method :italic?, :italic
48625
+
48626
+ # Letter spacing in points.
48627
+ # Corresponds to the JSON property `letterSpacing`
48628
+ # @return [Float]
48629
+ attr_accessor :letter_spacing
48630
+
48631
+ # Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
48632
+ # Corresponds to the JSON property `pixelFontSize`
48633
+ # @return [Float]
48634
+ attr_accessor :pixel_font_size
48635
+
48636
+ # Whether the text is in small caps.
48637
+ # Corresponds to the JSON property `smallcaps`
48638
+ # @return [Boolean]
48639
+ attr_accessor :smallcaps
48640
+ alias_method :smallcaps?, :smallcaps
48641
+
48642
+ # Whether the text is strikethrough.
48643
+ # Corresponds to the JSON property `strikeout`
48644
+ # @return [Boolean]
48645
+ attr_accessor :strikeout
48646
+ alias_method :strikeout?, :strikeout
48647
+
48648
+ # Whether the text is a subscript.
48649
+ # Corresponds to the JSON property `subscript`
48650
+ # @return [Boolean]
48651
+ attr_accessor :subscript
48652
+ alias_method :subscript?, :subscript
48653
+
48654
+ # Whether the text is a superscript.
48655
+ # Corresponds to the JSON property `superscript`
48656
+ # @return [Boolean]
48657
+ attr_accessor :superscript
48658
+ alias_method :superscript?, :superscript
48659
+
48660
+ # Represents a color in the RGBA color space. This representation is designed
48661
+ # for simplicity of conversion to/from color representations in various
48662
+ # languages over compactness. For example, the fields of this representation can
48663
+ # be trivially provided to the constructor of `java.awt.Color` in Java; it can
48664
+ # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
48665
+ # method in iOS; and, with just a little work, it can be easily formatted into a
48666
+ # CSS `rgba()` string in JavaScript. This reference page doesn't carry
48667
+ # information about the absolute color space that should be used to interpret
48668
+ # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
48669
+ # applications should assume the sRGB color space. When color equality needs to
48670
+ # be decided, implementations, unless documented otherwise, treat two colors as
48671
+ # equal if all their red, green, blue, and alpha values each differ by at most
48672
+ # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
48673
+ # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
48674
+ # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
48675
+ # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
48676
+ # Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
48677
+ # float green = (float) color.getGreen(); float blue = (float) color.getBlue();
48678
+ # float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
48679
+ # setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
48680
+ # denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
48681
+ # setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
48682
+ # build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
48683
+ # . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
48684
+ # float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
48685
+ # alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
48686
+ # nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
48687
+ # green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
48688
+ # CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
48689
+ # blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
48690
+ # result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
48691
+ # = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
48692
+ # autorelease]; return result; ` // ... Example (JavaScript): // ... var
48693
+ # protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
48694
+ # var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
48695
+ # var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
48696
+ # var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
48697
+ # rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
48698
+ # 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
48699
+ # ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
48700
+ # ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
48701
+ # = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
48702
+ # resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
48703
+ # push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
48704
+ # / ...
48705
+ # Corresponds to the JSON property `textColor`
48706
+ # @return [Google::Apis::ContentwarehouseV1::GoogleTypeColor]
48707
+ attr_accessor :text_color
48708
+
48709
+ # Whether the text is underlined.
48710
+ # Corresponds to the JSON property `underlined`
48711
+ # @return [Boolean]
48712
+ attr_accessor :underlined
48713
+ alias_method :underlined?, :underlined
48714
+
48715
+ def initialize(**args)
48716
+ update!(**args)
48717
+ end
48718
+
48719
+ # Update properties of this object
48720
+ def update!(**args)
48721
+ @background_color = args[:background_color] if args.key?(:background_color)
48722
+ @bold = args[:bold] if args.key?(:bold)
48723
+ @font_size = args[:font_size] if args.key?(:font_size)
48724
+ @font_type = args[:font_type] if args.key?(:font_type)
48725
+ @font_weight = args[:font_weight] if args.key?(:font_weight)
48726
+ @handwritten = args[:handwritten] if args.key?(:handwritten)
48727
+ @italic = args[:italic] if args.key?(:italic)
48728
+ @letter_spacing = args[:letter_spacing] if args.key?(:letter_spacing)
48729
+ @pixel_font_size = args[:pixel_font_size] if args.key?(:pixel_font_size)
48730
+ @smallcaps = args[:smallcaps] if args.key?(:smallcaps)
48731
+ @strikeout = args[:strikeout] if args.key?(:strikeout)
48732
+ @subscript = args[:subscript] if args.key?(:subscript)
48733
+ @superscript = args[:superscript] if args.key?(:superscript)
48734
+ @text_color = args[:text_color] if args.key?(:text_color)
48735
+ @underlined = args[:underlined] if args.key?(:underlined)
48736
+ end
48737
+ end
48738
+
48244
48739
  # Detected non-text visual elements e.g. checkbox, signature etc. on the page.
48245
48740
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
48246
48741
  include Google::Apis::Core::Hashable
@@ -53269,7 +53764,7 @@ module Google
53269
53764
  # @return [Fixnum]
53270
53765
  attr_accessor :expiration_timestamp
53271
53766
 
53272
- # Next tag value: 381.
53767
+ # Next tag value: 382.
53273
53768
  # Corresponds to the JSON property `extendedExif`
53274
53769
  # @return [Google::Apis::ContentwarehouseV1::PhotosImageMetadata]
53275
53770
  attr_accessor :extended_exif
@@ -54891,6 +55386,34 @@ module Google
54891
55386
  end
54892
55387
  end
54893
55388
 
55389
+ # Goldmine annotation in the CDoc to store the hrid of the 5 entities with
55390
+ # higher topicality in the document. Used by the Skin Tone Twiddler to determine
55391
+ # if the result set shows mostly one specific KG entity. go/result-set-signal
55392
+ class ImageQualitySensitiveMediaOrPeopleEntities
55393
+ include Google::Apis::Core::Hashable
55394
+
55395
+ # Similar to above, but for media entities (movie name, fictional character,
55396
+ # musical band)
55397
+ # Corresponds to the JSON property `mediaEntitiesId`
55398
+ # @return [Array<Fixnum>]
55399
+ attr_accessor :media_entities_id
55400
+
55401
+ # hrid of the 5 people entities with higher topicality in the document
55402
+ # Corresponds to the JSON property `peopleEntitiesId`
55403
+ # @return [Array<Fixnum>]
55404
+ attr_accessor :people_entities_id
55405
+
55406
+ def initialize(**args)
55407
+ update!(**args)
55408
+ end
55409
+
55410
+ # Update properties of this object
55411
+ def update!(**args)
55412
+ @media_entities_id = args[:media_entities_id] if args.key?(:media_entities_id)
55413
+ @people_entities_id = args[:people_entities_id] if args.key?(:people_entities_id)
55414
+ end
55415
+ end
55416
+
54894
55417
  # A single region within an image. NEXT_ID: 11
54895
55418
  class ImageRegionsImageRegion
54896
55419
  include Google::Apis::Core::Hashable
@@ -55419,7 +55942,7 @@ module Google
55419
55942
  # @return [Google::Apis::ContentwarehouseV1::IndexingSpeechSpeechPropertiesProto]
55420
55943
  attr_accessor :speech_properties
55421
55944
 
55422
- # LINT.IfChange Score calculated from a thumbnail. NextID: 15
55945
+ # LINT.IfChange Score calculated from a thumbnail. NextID: 16
55423
55946
  # Corresponds to the JSON property `thumbnailQualityScore`
55424
55947
  # @return [Google::Apis::ContentwarehouseV1::VideoThumbnailsThumbnailScore]
55425
55948
  attr_accessor :thumbnail_quality_score
@@ -61833,12 +62356,6 @@ module Google
61833
62356
  # @return [Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings]
61834
62357
  attr_accessor :remodelings
61835
62358
 
61836
- # This field is deprecated. It is not removed completely since this proto was
61837
- # saved with this field in proto text files used by the Grammy tool.
61838
- # Corresponds to the JSON property `stbrDomain`
61839
- # @return [Array<String>]
61840
- attr_accessor :stbr_domain
61841
-
61842
62359
  def initialize(**args)
61843
62360
  update!(**args)
61844
62361
  end
@@ -61852,7 +62369,6 @@ module Google
61852
62369
  @in_all_collections = args[:in_all_collections] if args.key?(:in_all_collections)
61853
62370
  @include_geolocation_data = args[:include_geolocation_data] if args.key?(:include_geolocation_data)
61854
62371
  @remodelings = args[:remodelings] if args.key?(:remodelings)
61855
- @stbr_domain = args[:stbr_domain] if args.key?(:stbr_domain)
61856
62372
  end
61857
62373
  end
61858
62374
 
@@ -62095,7 +62611,7 @@ module Google
62095
62611
  attr_accessor :name
62096
62612
 
62097
62613
  # A message representing the signals associated with an argument. NEXT ID TO USE:
62098
- # 57 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
62614
+ # 58 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
62099
62615
  # in the "ThenChange", fields under Argument.signals in the serving proto are
62100
62616
  # stored directly under Argument on the logging side. For example, see http://
62101
62617
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -62600,7 +63116,7 @@ module Google
62600
63116
  end
62601
63117
 
62602
63118
  # A message representing the signals associated with an argument. NEXT ID TO USE:
62603
- # 57 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
63119
+ # 58 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
62604
63120
  # in the "ThenChange", fields under Argument.signals in the serving proto are
62605
63121
  # stored directly under Argument on the logging side. For example, see http://
62606
63122
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -62666,7 +63182,7 @@ module Google
62666
63182
  # @return [Array<String>]
62667
63183
  attr_accessor :deprecated_freebase_type
62668
63184
 
62669
- # A list of mids that "support" this argument in voting, i.e, results that
63185
+ # A list of mids that "support" this argument in voting, i.e., results that
62670
63186
  # support these mids will be treated as if they support the argument. This field
62671
63187
  # has been deprecated in favor of related_entity. b/27363861
62672
63188
  # Corresponds to the JSON property `deprecatedSupportingMid`
@@ -62723,7 +63239,7 @@ module Google
62723
63239
  # @return [Fixnum]
62724
63240
  attr_accessor :gaia_id
62725
63241
 
62726
- # Grounding-related signals to be propagated down stream. Next ID: 12
63242
+ # Grounding-related signals to be propagated down stream. Next ID: 14
62727
63243
  # Corresponds to the JSON property `groundingSignals`
62728
63244
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryGroundingSignals]
62729
63245
  attr_accessor :grounding_signals
@@ -62910,6 +63426,12 @@ module Google
62910
63426
  attr_accessor :resolved_from_pronoun
62911
63427
  alias_method :resolved_from_pronoun?, :resolved_from_pronoun
62912
63428
 
63429
+ # SRM signal data. Properties here should be nonsemantic. Semantic properties
63430
+ # should be modeled directly in the SRM.
63431
+ # Corresponds to the JSON property `responseMeaningSignals`
63432
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryResponseMeaningSignalsResponseMeaningSignals]
63433
+ attr_accessor :response_meaning_signals
63434
+
62913
63435
  # The list of result supports for this Argument.
62914
63436
  # Corresponds to the JSON property `resultSupport`
62915
63437
  # @return [Array<Google::Apis::ContentwarehouseV1::UniversalsearchNewPackerKnowledgeResultSupport>]
@@ -63012,6 +63534,7 @@ module Google
63012
63534
  @relatedness_signals = args[:relatedness_signals] if args.key?(:relatedness_signals)
63013
63535
  @resolved_from_context = args[:resolved_from_context] if args.key?(:resolved_from_context)
63014
63536
  @resolved_from_pronoun = args[:resolved_from_pronoun] if args.key?(:resolved_from_pronoun)
63537
+ @response_meaning_signals = args[:response_meaning_signals] if args.key?(:response_meaning_signals)
63015
63538
  @result_support = args[:result_support] if args.key?(:result_support)
63016
63539
  @saft_signals = args[:saft_signals] if args.key?(:saft_signals)
63017
63540
  @shopping_ids = args[:shopping_ids] if args.key?(:shopping_ids)
@@ -63691,7 +64214,7 @@ module Google
63691
64214
  # @return [String]
63692
64215
  attr_accessor :freefolks_trigger
63693
64216
 
63694
- # Grounding-related signals to be propagated down stream. Next ID: 12
64217
+ # Grounding-related signals to be propagated down stream. Next ID: 14
63695
64218
  # Corresponds to the JSON property `groundingSignals`
63696
64219
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryGroundingSignals]
63697
64220
  attr_accessor :grounding_signals
@@ -63805,7 +64328,7 @@ module Google
63805
64328
 
63806
64329
  # Signals to be used by the Prefulfillment Ranker. Derived from the
63807
64330
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
63808
- # Next ID: 48
64331
+ # Next ID: 52
63809
64332
  # Corresponds to the JSON property `prefulfillmentSignals`
63810
64333
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
63811
64334
  attr_accessor :prefulfillment_signals
@@ -63907,7 +64430,7 @@ module Google
63907
64430
  end
63908
64431
  end
63909
64432
 
63910
- # Grounding-related signals to be propagated down stream. Next ID: 12
64433
+ # Grounding-related signals to be propagated down stream. Next ID: 14
63911
64434
  class KnowledgeAnswersIntentQueryGroundingSignals
63912
64435
  include Google::Apis::Core::Hashable
63913
64436
 
@@ -63969,6 +64492,16 @@ module Google
63969
64492
  # @return [String]
63970
64493
  attr_accessor :pgrp_output_format
63971
64494
 
64495
+ #
64496
+ # Corresponds to the JSON property `provenance`
64497
+ # @return [String]
64498
+ attr_accessor :provenance
64499
+
64500
+ #
64501
+ # Corresponds to the JSON property `sentiment`
64502
+ # @return [String]
64503
+ attr_accessor :sentiment
64504
+
63972
64505
  # If true, then GroundingBox and PGRP are used in AnswersRewriter to process the
63973
64506
  # intent. Other post-processing steps, including IGDP, are adjusted accordingly.
63974
64507
  # Note this will be removed once GroundingBox is fully launched and all prod
@@ -63995,6 +64528,8 @@ module Google
63995
64528
  @num_variables = args[:num_variables] if args.key?(:num_variables)
63996
64529
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
63997
64530
  @pgrp_output_format = args[:pgrp_output_format] if args.key?(:pgrp_output_format)
64531
+ @provenance = args[:provenance] if args.key?(:provenance)
64532
+ @sentiment = args[:sentiment] if args.key?(:sentiment)
63998
64533
  @uses_grounding_box = args[:uses_grounding_box] if args.key?(:uses_grounding_box)
63999
64534
  end
64000
64535
  end
@@ -64540,23 +65075,61 @@ module Google
64540
65075
  end
64541
65076
  end
64542
65077
 
65078
+ #
65079
+ class KnowledgeAnswersIntentQueryResponseMeaningSignalsAnswersHeaderSignals
65080
+ include Google::Apis::Core::Hashable
65081
+
65082
+ #
65083
+ # Corresponds to the JSON property `answersValueGender`
65084
+ # @return [String]
65085
+ attr_accessor :answers_value_gender
65086
+
65087
+ #
65088
+ # Corresponds to the JSON property `numAnswers`
65089
+ # @return [Fixnum]
65090
+ attr_accessor :num_answers
65091
+
65092
+ def initialize(**args)
65093
+ update!(**args)
65094
+ end
65095
+
65096
+ # Update properties of this object
65097
+ def update!(**args)
65098
+ @answers_value_gender = args[:answers_value_gender] if args.key?(:answers_value_gender)
65099
+ @num_answers = args[:num_answers] if args.key?(:num_answers)
65100
+ end
65101
+ end
65102
+
64543
65103
  # SRM signal data. Properties here should be nonsemantic. Semantic properties
64544
65104
  # should be modeled directly in the SRM.
64545
65105
  class KnowledgeAnswersIntentQueryResponseMeaningSignalsResponseMeaningSignals
64546
65106
  include Google::Apis::Core::Hashable
64547
65107
 
65108
+ # Signals that are used to generate answers header.
65109
+ # Corresponds to the JSON property `answersHeaderSignals`
65110
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryResponseMeaningSignalsAnswersHeaderSignals]
65111
+ attr_accessor :answers_header_signals
65112
+
64548
65113
  #
64549
65114
  # Corresponds to the JSON property `propertyValue`
64550
65115
  # @return [Array<Google::Apis::ContentwarehouseV1::FreebasePropertyValue>]
64551
65116
  attr_accessor :property_value
64552
65117
 
65118
+ # The intended application this response meaning is used for. It is intended for
65119
+ # downstream dispatching.
65120
+ # Corresponds to the JSON property `responseMeaningApplication`
65121
+ # @return [String]
65122
+ attr_accessor :response_meaning_application
65123
+
64553
65124
  def initialize(**args)
64554
65125
  update!(**args)
64555
65126
  end
64556
65127
 
64557
65128
  # Update properties of this object
64558
65129
  def update!(**args)
65130
+ @answers_header_signals = args[:answers_header_signals] if args.key?(:answers_header_signals)
64559
65131
  @property_value = args[:property_value] if args.key?(:property_value)
65132
+ @response_meaning_application = args[:response_meaning_application] if args.key?(:response_meaning_application)
64560
65133
  end
64561
65134
  end
64562
65135
 
@@ -66702,36 +67275,6 @@ module Google
66702
67275
  end
66703
67276
  end
66704
67277
 
66705
- # A TypeTrait configures a value that has a property with any of the given
66706
- # trait_id. In practice this means: - any entity that has a metadata ID defined
66707
- # in the KP type_schema, - any intent that has a slot with the given ID. When
66708
- # comparing trait_id to metadata IDs or slot IDs, we lowercase and normalize for
66709
- # comparison.
66710
- class KnowledgeAnswersTypeTrait
66711
- include Google::Apis::Core::Hashable
66712
-
66713
- # This proto will be added as a field to part of a schema to indicate it is
66714
- # being remodeled.
66715
- # Corresponds to the JSON property `remodelings`
66716
- # @return [Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings]
66717
- attr_accessor :remodelings
66718
-
66719
- #
66720
- # Corresponds to the JSON property `traitId`
66721
- # @return [Array<String>]
66722
- attr_accessor :trait_id
66723
-
66724
- def initialize(**args)
66725
- update!(**args)
66726
- end
66727
-
66728
- # Update properties of this object
66729
- def update!(**args)
66730
- @remodelings = args[:remodelings] if args.key?(:remodelings)
66731
- @trait_id = args[:trait_id] if args.key?(:trait_id)
66732
- end
66733
- end
66734
-
66735
67278
  #
66736
67279
  class KnowledgeAnswersUnionType
66737
67280
  include Google::Apis::Core::Hashable
@@ -66876,11 +67419,6 @@ module Google
66876
67419
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersPlexityRequirement]
66877
67420
  attr_accessor :plexity_requirement
66878
67421
 
66879
- #
66880
- # Corresponds to the JSON property `pluralityType`
66881
- # @return [String]
66882
- attr_accessor :plurality_type
66883
-
66884
67422
  # A special type representing a polar question.
66885
67423
  # Corresponds to the JSON property `polarQuestionType`
66886
67424
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersPolarQuestionType]
@@ -66914,15 +67452,6 @@ module Google
66914
67452
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersTrackingNumberType]
66915
67453
  attr_accessor :tracking_number_type
66916
67454
 
66917
- # A TypeTrait configures a value that has a property with any of the given
66918
- # trait_id. In practice this means: - any entity that has a metadata ID defined
66919
- # in the KP type_schema, - any intent that has a slot with the given ID. When
66920
- # comparing trait_id to metadata IDs or slot IDs, we lowercase and normalize for
66921
- # comparison.
66922
- # Corresponds to the JSON property `withTrait`
66923
- # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersTypeTrait]
66924
- attr_accessor :with_trait
66925
-
66926
67455
  def initialize(**args)
66927
67456
  update!(**args)
66928
67457
  end
@@ -66944,14 +67473,12 @@ module Google
66944
67473
  @number_type = args[:number_type] if args.key?(:number_type)
66945
67474
  @opaque_type = args[:opaque_type] if args.key?(:opaque_type)
66946
67475
  @plexity_requirement = args[:plexity_requirement] if args.key?(:plexity_requirement)
66947
- @plurality_type = args[:plurality_type] if args.key?(:plurality_type)
66948
67476
  @polar_question_type = args[:polar_question_type] if args.key?(:polar_question_type)
66949
67477
  @semantic_type = args[:semantic_type] if args.key?(:semantic_type)
66950
67478
  @state_of_affairs_type = args[:state_of_affairs_type] if args.key?(:state_of_affairs_type)
66951
67479
  @string_type = args[:string_type] if args.key?(:string_type)
66952
67480
  @timezone_type = args[:timezone_type] if args.key?(:timezone_type)
66953
67481
  @tracking_number_type = args[:tracking_number_type] if args.key?(:tracking_number_type)
66954
- @with_trait = args[:with_trait] if args.key?(:with_trait)
66955
67482
  end
66956
67483
  end
66957
67484
 
@@ -72762,7 +73289,7 @@ module Google
72762
73289
  attr_accessor :association
72763
73290
 
72764
73291
  # A proto for storing inferred and reconciled metadata for Science Search. Next
72765
- # available tag: 70
73292
+ # available tag: 71
72766
73293
  # Corresponds to the JSON property `datasetMetadata`
72767
73294
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchReconciledMetadata]
72768
73295
  attr_accessor :dataset_metadata
@@ -84692,7 +85219,7 @@ module Google
84692
85219
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
84693
85220
  # available tag deprecated, use this (and look for commented out fields): blaze-
84694
85221
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
84695
- # perdocdata.proto Next tag: 221
85222
+ # perdocdata.proto Next tag: 222
84696
85223
  class PerDocData
84697
85224
  include Google::Apis::Core::Hashable
84698
85225
 
@@ -85022,7 +85549,7 @@ module Google
85022
85549
 
85023
85550
  # PerDocData for fringe-query-prior (built into the shards for eventual
85024
85551
  # consumption at Fringe classification time). Not stored in DocJoins. NEXT ID:
85025
- # 11
85552
+ # 12
85026
85553
  # Corresponds to the JSON property `fringeQueryPrior`
85027
85554
  # @return [Google::Apis::ContentwarehouseV1::QualityFringeFringeQueryPriorPerDocData]
85028
85555
  attr_accessor :fringe_query_prior
@@ -85129,13 +85656,20 @@ module Google
85129
85656
  # @return [Google::Apis::ContentwarehouseV1::IndexingDupsLocalizedLocalizedCluster]
85130
85657
  attr_accessor :localized_cluster
85131
85658
 
85659
+ # Goldmine annotation in the CDoc to store the hrid of the 5 entities with
85660
+ # higher topicality in the document. Used by the Skin Tone Twiddler to determine
85661
+ # if the result set shows mostly one specific KG entity. go/result-set-signal
85662
+ # Corresponds to the JSON property `mediaOrPeopleEntities`
85663
+ # @return [Google::Apis::ContentwarehouseV1::ImageQualitySensitiveMediaOrPeopleEntities]
85664
+ attr_accessor :media_or_people_entities
85665
+
85132
85666
  # If not 0, we should not show the image in overlay mode in image snippets
85133
85667
  # Corresponds to the JSON property `noimageframeoverlayreason`
85134
85668
  # @return [Fixnum]
85135
85669
  attr_accessor :noimageframeoverlayreason
85136
85670
 
85137
85671
  # NOTE: When adding a new field to be propagated to Raffia check if
85138
- # NsrPatternSignalSpec needs to be updated. Next ID: 52
85672
+ # NsrPatternSignalSpec needs to be updated. Next ID: 53
85139
85673
  # Corresponds to the JSON property `nsrDataProto`
85140
85674
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
85141
85675
  attr_accessor :nsr_data_proto
@@ -85601,6 +86135,7 @@ module Google
85601
86135
  @launch_app_info = args[:launch_app_info] if args.key?(:launch_app_info)
85602
86136
  @live_results_data = args[:live_results_data] if args.key?(:live_results_data)
85603
86137
  @localized_cluster = args[:localized_cluster] if args.key?(:localized_cluster)
86138
+ @media_or_people_entities = args[:media_or_people_entities] if args.key?(:media_or_people_entities)
85604
86139
  @noimageframeoverlayreason = args[:noimageframeoverlayreason] if args.key?(:noimageframeoverlayreason)
85605
86140
  @nsr_data_proto = args[:nsr_data_proto] if args.key?(:nsr_data_proto)
85606
86141
  @nsr_is_covid_local_authority = args[:nsr_is_covid_local_authority] if args.key?(:nsr_is_covid_local_authority)
@@ -86059,7 +86594,58 @@ module Google
86059
86594
  end
86060
86595
  end
86061
86596
 
86062
- # Next tag value: 381.
86597
+ # HDR Metadata describes in what way an image expresses high dynamic range
86598
+ # information (e.g. using a gainmap or a specialized color space).
86599
+ class PhotosHdrMetadata
86600
+ include Google::Apis::Core::Hashable
86601
+
86602
+ # Details about gainmap-based HDR formats (e.g. go/ghdr). Notably, images can
86603
+ # adhere to multiple gainmap specifications concurrently.
86604
+ # Corresponds to the JSON property `gainmap`
86605
+ # @return [Google::Apis::ContentwarehouseV1::PhotosHdrMetadataGainmap]
86606
+ attr_accessor :gainmap
86607
+
86608
+ def initialize(**args)
86609
+ update!(**args)
86610
+ end
86611
+
86612
+ # Update properties of this object
86613
+ def update!(**args)
86614
+ @gainmap = args[:gainmap] if args.key?(:gainmap)
86615
+ end
86616
+ end
86617
+
86618
+ # Details about gainmap-based HDR formats (e.g. go/ghdr). Notably, images can
86619
+ # adhere to multiple gainmap specifications concurrently.
86620
+ class PhotosHdrMetadataGainmap
86621
+ include Google::Apis::Core::Hashable
86622
+
86623
+ # Indicates that this image can be processed as an Adobe HDR (FlexDR) image by
86624
+ # reading the MPF segments.
86625
+ # Corresponds to the JSON property `adobeHdr`
86626
+ # @return [Boolean]
86627
+ attr_accessor :adobe_hdr
86628
+ alias_method :adobe_hdr?, :adobe_hdr
86629
+
86630
+ # Indicates that this image can be processed as a go/ghdr (UltraHDR) image by
86631
+ # reading the GContainer in the primary XMP block.
86632
+ # Corresponds to the JSON property `googleHdr`
86633
+ # @return [Boolean]
86634
+ attr_accessor :google_hdr
86635
+ alias_method :google_hdr?, :google_hdr
86636
+
86637
+ def initialize(**args)
86638
+ update!(**args)
86639
+ end
86640
+
86641
+ # Update properties of this object
86642
+ def update!(**args)
86643
+ @adobe_hdr = args[:adobe_hdr] if args.key?(:adobe_hdr)
86644
+ @google_hdr = args[:google_hdr] if args.key?(:google_hdr)
86645
+ end
86646
+ end
86647
+
86648
+ # Next tag value: 382.
86063
86649
  class PhotosImageMetadata
86064
86650
  include Google::Apis::Core::Hashable
86065
86651
 
@@ -86945,6 +87531,12 @@ module Google
86945
87531
  attr_accessor :has_alpha
86946
87532
  alias_method :has_alpha?, :has_alpha
86947
87533
 
87534
+ # HDR Metadata describes in what way an image expresses high dynamic range
87535
+ # information (e.g. using a gainmap or a specialized color space).
87536
+ # Corresponds to the JSON property `hdrMetadata`
87537
+ # @return [Google::Apis::ContentwarehouseV1::PhotosHdrMetadata]
87538
+ attr_accessor :hdr_metadata
87539
+
86948
87540
  #
86949
87541
  # Corresponds to the JSON property `headline`
86950
87542
  # @return [String]
@@ -87404,9 +87996,11 @@ module Google
87404
87996
  # @return [Fixnum]
87405
87997
  attr_accessor :resolutionunit
87406
87998
 
87407
- # being returned to caller Use values defined in "MIME_TYPE" This field is
87408
- # deprecated. Rotation is now accomplished via ImageInfo.exif_orientation and
87409
- # ImageInfo.edit_list. Number of degrees (0, 90, 180,
87999
+ # This field is deprecated. Rotation is now accomplished via ImageInfo.
88000
+ # exif_orientation and ImageInfo.edit_list. WARNING: the presence of rotate is
88001
+ # used by FIFE to identify older images. Setting this (even to the correct
88002
+ # number of degrees) on newer images can cause incorrectly rotated thumbnails.
88003
+ # This was the cause of omg/58543 Number of degrees (0, 90, 180, 270)
87410
88004
  # Corresponds to the JSON property `rotate`
87411
88005
  # @return [Fixnum]
87412
88006
  attr_accessor :rotate
@@ -87863,6 +88457,7 @@ module Google
87863
88457
  @grayresponsecurve = args[:grayresponsecurve] if args.key?(:grayresponsecurve)
87864
88458
  @grayresponseunit = args[:grayresponseunit] if args.key?(:grayresponseunit)
87865
88459
  @has_alpha = args[:has_alpha] if args.key?(:has_alpha)
88460
+ @hdr_metadata = args[:hdr_metadata] if args.key?(:hdr_metadata)
87866
88461
  @headline = args[:headline] if args.key?(:headline)
87867
88462
  @height = args[:height] if args.key?(:height)
87868
88463
  @hostcomputer = args[:hostcomputer] if args.key?(:hostcomputer)
@@ -91146,7 +91741,7 @@ module Google
91146
91741
 
91147
91742
  # PerDocData for fringe-query-prior (built into the shards for eventual
91148
91743
  # consumption at Fringe classification time). Not stored in DocJoins. NEXT ID:
91149
- # 11
91744
+ # 12
91150
91745
  class QualityFringeFringeQueryPriorPerDocData
91151
91746
  include Google::Apis::Core::Hashable
91152
91747
 
@@ -91222,6 +91817,12 @@ module Google
91222
91817
  # @return [Fixnum]
91223
91818
  attr_accessor :encoded_proximity_score
91224
91819
 
91820
+ # Indices on the repository_webref::WebrefEntities::entity field of entities
91821
+ # that represent a person or a group of people (aka sensitive entities).
91822
+ # Corresponds to the JSON property `sensitiveEntitiesIndices`
91823
+ # @return [Array<Fixnum>]
91824
+ attr_accessor :sensitive_entities_indices
91825
+
91225
91826
  def initialize(**args)
91226
91827
  update!(**args)
91227
91828
  end
@@ -91238,6 +91839,7 @@ module Google
91238
91839
  @encoded_fringe_site_prior_score_for_qfs_training = args[:encoded_fringe_site_prior_score_for_qfs_training] if args.key?(:encoded_fringe_site_prior_score_for_qfs_training)
91239
91840
  @encoded_predicted_xlq_score_and_confidence = args[:encoded_predicted_xlq_score_and_confidence] if args.key?(:encoded_predicted_xlq_score_and_confidence)
91240
91841
  @encoded_proximity_score = args[:encoded_proximity_score] if args.key?(:encoded_proximity_score)
91842
+ @sensitive_entities_indices = args[:sensitive_entities_indices] if args.key?(:sensitive_entities_indices)
91241
91843
  end
91242
91844
  end
91243
91845
 
@@ -92186,7 +92788,7 @@ module Google
92186
92788
  end
92187
92789
 
92188
92790
  # NOTE: When adding a new field to be propagated to Raffia check if
92189
- # NsrPatternSignalSpec needs to be updated. Next ID: 52
92791
+ # NsrPatternSignalSpec needs to be updated. Next ID: 53
92190
92792
  class QualityNsrNsrData
92191
92793
  include Google::Apis::Core::Hashable
92192
92794
 
@@ -92344,6 +92946,11 @@ module Google
92344
92946
  # @return [Float]
92345
92947
  attr_accessor :pnav
92346
92948
 
92949
+ # denominator for the pnav computation
92950
+ # Corresponds to the JSON property `pnavClicks`
92951
+ # @return [Float]
92952
+ attr_accessor :pnav_clicks
92953
+
92347
92954
  # NSR - prior. Estimate of whether the site is above/below average NSR in its
92348
92955
  # slice.
92349
92956
  # Corresponds to the JSON property `priorAdjustedNsr`
@@ -92426,11 +93033,6 @@ module Google
92426
93033
  # @return [String]
92427
93034
  attr_accessor :url
92428
93035
 
92429
- # Versioned map of ASR (authenticity) values.
92430
- # Corresponds to the JSON property `versionedAsrData`
92431
- # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
92432
- attr_accessor :versioned_asr_data
92433
-
92434
93036
  # Versioned map of NSR values for experimenting with the next release.
92435
93037
  # Corresponds to the JSON property `versionedData`
92436
93038
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrNsrVersionedData>]
@@ -92489,6 +93091,7 @@ module Google
92489
93091
  @nsr_variance = args[:nsr_variance] if args.key?(:nsr_variance)
92490
93092
  @nsrdata_from_fallback_pattern_key = args[:nsrdata_from_fallback_pattern_key] if args.key?(:nsrdata_from_fallback_pattern_key)
92491
93093
  @pnav = args[:pnav] if args.key?(:pnav)
93094
+ @pnav_clicks = args[:pnav_clicks] if args.key?(:pnav_clicks)
92492
93095
  @prior_adjusted_nsr = args[:prior_adjusted_nsr] if args.key?(:prior_adjusted_nsr)
92493
93096
  @secondary_site_chunk = args[:secondary_site_chunk] if args.key?(:secondary_site_chunk)
92494
93097
  @shopping_score = args[:shopping_score] if args.key?(:shopping_score)
@@ -92504,7 +93107,6 @@ module Google
92504
93107
  @tofu = args[:tofu] if args.key?(:tofu)
92505
93108
  @ugc_score = args[:ugc_score] if args.key?(:ugc_score)
92506
93109
  @url = args[:url] if args.key?(:url)
92507
- @versioned_asr_data = args[:versioned_asr_data] if args.key?(:versioned_asr_data)
92508
93110
  @versioned_data = args[:versioned_data] if args.key?(:versioned_data)
92509
93111
  @video_score = args[:video_score] if args.key?(:video_score)
92510
93112
  @vlq = args[:vlq] if args.key?(:vlq)
@@ -93103,9 +93705,7 @@ module Google
93103
93705
  # @return [String]
93104
93706
  attr_accessor :doc_lang
93105
93707
 
93106
- # Represents how relavant this title candidate is to the document. Ranged in [0,
93107
- # 1], and this signal is basically calculated as Cosine-similarity between
93108
- # salient term vector and pQ2T model of title candidate sentence.
93708
+ #
93109
93709
  # Corresponds to the JSON property `docRelevance`
93110
93710
  # @return [Float]
93111
93711
  attr_accessor :doc_relevance
@@ -93328,9 +93928,7 @@ module Google
93328
93928
  # @return [Float]
93329
93929
  attr_accessor :query_match_fraction
93330
93930
 
93331
- # Represents how relavant this title candidate is to the query. Ranged in [0, 1],
93332
- # and this signal is basically calculated as Cosine-similarity between QBST
93333
- # term vector and pQ2T model of title candidate sentence.
93931
+ # Deprecated experimental features.
93334
93932
  # Corresponds to the JSON property `queryRelevance`
93335
93933
  # @return [Float]
93336
93934
  attr_accessor :query_relevance
@@ -99428,12 +100026,6 @@ module Google
99428
100026
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameVariantSignals>]
99429
100027
  attr_accessor :debug_variant_signals
99430
100028
 
99431
- # Next available tag: 35. Represents all the information that we have for a
99432
- # given entity.
99433
- # Corresponds to the JSON property `entity`
99434
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefEntityJoin]
99435
- attr_accessor :entity
99436
-
99437
100029
  # Stores region specific score ratios for the entity when it is significantly
99438
100030
  # different from the language version above.
99439
100031
  # Corresponds to the JSON property `extendedScoreRatio`
@@ -99551,7 +100143,6 @@ module Google
99551
100143
  @confidence = args[:confidence] if args.key?(:confidence)
99552
100144
  @debug_info = args[:debug_info] if args.key?(:debug_info)
99553
100145
  @debug_variant_signals = args[:debug_variant_signals] if args.key?(:debug_variant_signals)
99554
- @entity = args[:entity] if args.key?(:entity)
99555
100146
  @extended_score_ratio = args[:extended_score_ratio] if args.key?(:extended_score_ratio)
99556
100147
  @include_in_model = args[:include_in_model] if args.key?(:include_in_model)
99557
100148
  @internal_bootstrap_is_open_world = args[:internal_bootstrap_is_open_world] if args.key?(:internal_bootstrap_is_open_world)
@@ -105886,7 +106477,7 @@ module Google
105886
106477
  end
105887
106478
 
105888
106479
  # A proto for storing inferred and reconciled metadata for Science Search. Next
105889
- # available tag: 70
106480
+ # available tag: 71
105890
106481
  class ResearchScienceSearchReconciledMetadata
105891
106482
  include Google::Apis::Core::Hashable
105892
106483
 
@@ -105903,6 +106494,13 @@ module Google
105903
106494
  # @return [String]
105904
106495
  attr_accessor :author_list
105905
106496
 
106497
+ # A hash of the fields copied by BasicMetadataExtender and the importers. See cs/
106498
+ # research/science_search/backend/extender/basic_metadata_extender.h for the
106499
+ # list of fields.
106500
+ # Corresponds to the JSON property `basicFieldsHash`
106501
+ # @return [Fixnum]
106502
+ attr_accessor :basic_fields_hash
106503
+
105906
106504
  # Information on the catalog that this dataset comes from. Next ID: 5
105907
106505
  # Corresponds to the JSON property `catalog`
105908
106506
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchCatalog]
@@ -106226,6 +106824,7 @@ module Google
106226
106824
  def update!(**args)
106227
106825
  @alternate_name = args[:alternate_name] if args.key?(:alternate_name)
106228
106826
  @author_list = args[:author_list] if args.key?(:author_list)
106827
+ @basic_fields_hash = args[:basic_fields_hash] if args.key?(:basic_fields_hash)
106229
106828
  @catalog = args[:catalog] if args.key?(:catalog)
106230
106829
  @compact_identifier = args[:compact_identifier] if args.key?(:compact_identifier)
106231
106830
  @compact_identifier_from_citation = args[:compact_identifier_from_citation] if args.key?(:compact_identifier_from_citation)
@@ -111539,6 +112138,38 @@ module Google
111539
112138
  end
111540
112139
  end
111541
112140
 
112141
+ # SearchLink metadata, for SEARCH_LINK segments. For a search link, the "text"
112142
+ # field should contain the display text. This is currently not indexed.
112143
+ class SocialCommonSearchLinkData
112144
+ include Google::Apis::Core::Hashable
112145
+
112146
+ # For lightweight scoring in serving time.
112147
+ # Corresponds to the JSON property `kgEntityConfidence`
112148
+ # @return [Float]
112149
+ attr_accessor :kg_entity_confidence
112150
+
112151
+ # MID of the KG entity being linked.
112152
+ # Corresponds to the JSON property `mid`
112153
+ # @return [String]
112154
+ attr_accessor :mid
112155
+
112156
+ #
112157
+ # Corresponds to the JSON property `queryBroadnessScore`
112158
+ # @return [Float]
112159
+ attr_accessor :query_broadness_score
112160
+
112161
+ def initialize(**args)
112162
+ update!(**args)
112163
+ end
112164
+
112165
+ # Update properties of this object
112166
+ def update!(**args)
112167
+ @kg_entity_confidence = args[:kg_entity_confidence] if args.key?(:kg_entity_confidence)
112168
+ @mid = args[:mid] if args.key?(:mid)
112169
+ @query_broadness_score = args[:query_broadness_score] if args.key?(:query_broadness_score)
112170
+ end
112171
+ end
112172
+
111542
112173
  #
111543
112174
  class SocialCommonSegment
111544
112175
  include Google::Apis::Core::Hashable
@@ -111564,6 +112195,12 @@ module Google
111564
112195
  # @return [Google::Apis::ContentwarehouseV1::SocialCommonLinkData]
111565
112196
  attr_accessor :link_data
111566
112197
 
112198
+ # SearchLink metadata, for SEARCH_LINK segments. For a search link, the "text"
112199
+ # field should contain the display text. This is currently not indexed.
112200
+ # Corresponds to the JSON property `searchLinkData`
112201
+ # @return [Google::Apis::ContentwarehouseV1::SocialCommonSearchLinkData]
112202
+ attr_accessor :search_link_data
112203
+
111567
112204
  # Text content of the Segment. As a general rule, this field should contain the
111568
112205
  # actual text that should be rendered in the UI. Thus, for a hashtag, it should
111569
112206
  # be "#Foo", and for a link, it should be the display text. Clients that do not
@@ -111608,6 +112245,7 @@ module Google
111608
112245
  @formatting = args[:formatting] if args.key?(:formatting)
111609
112246
  @hashtag_data = args[:hashtag_data] if args.key?(:hashtag_data)
111610
112247
  @link_data = args[:link_data] if args.key?(:link_data)
112248
+ @search_link_data = args[:search_link_data] if args.key?(:search_link_data)
111611
112249
  @text = args[:text] if args.key?(:text)
111612
112250
  @type = args[:type] if args.key?(:type)
111613
112251
  @user_mention_data = args[:user_mention_data] if args.key?(:user_mention_data)
@@ -113810,8 +114448,16 @@ module Google
113810
114448
  # @return [String]
113811
114449
  attr_accessor :entity_type
113812
114450
 
113813
- # Number of members (direct or indirect) in a Google Group. Only an estimate for
113814
- # large groups (currently > 1K direct / indirect members).
114451
+ # Whether caller has visibility into the direct members of the roster. NEXT TAG:
114452
+ # 11
114453
+ # Corresponds to the JSON property `isMembershipVisibleToCaller`
114454
+ # @return [Boolean]
114455
+ attr_accessor :is_membership_visible_to_caller
114456
+ alias_method :is_membership_visible_to_caller?, :is_membership_visible_to_caller
114457
+
114458
+ # DEPRECATED: use segmented_membership_counts instead. Number of members (direct
114459
+ # or indirect) in a Google Group. Only an estimate for large groups (currently >
114460
+ # 1K direct / indirect members).
113815
114461
  # Corresponds to the JSON property `memberCount`
113816
114462
  # @return [Fixnum]
113817
114463
  attr_accessor :member_count
@@ -113826,6 +114472,12 @@ module Google
113826
114472
  # @return [String]
113827
114473
  attr_accessor :presence_prop
113828
114474
 
114475
+ # Represents the direct membership counts of a Google Group. May contain counts
114476
+ # based on member type and membership state.
114477
+ # Corresponds to the JSON property `segmentedMembershipCounts`
114478
+ # @return [Google::Apis::ContentwarehouseV1::AppsDynamiteSharedSegmentedMembershipCounts]
114479
+ attr_accessor :segmented_membership_counts
114480
+
113829
114481
  def initialize(**args)
113830
114482
  update!(**args)
113831
114483
  end
@@ -113837,9 +114489,11 @@ module Google
113837
114489
  @developer_name = args[:developer_name] if args.key?(:developer_name)
113838
114490
  @dnd_state = args[:dnd_state] if args.key?(:dnd_state)
113839
114491
  @entity_type = args[:entity_type] if args.key?(:entity_type)
114492
+ @is_membership_visible_to_caller = args[:is_membership_visible_to_caller] if args.key?(:is_membership_visible_to_caller)
113840
114493
  @member_count = args[:member_count] if args.key?(:member_count)
113841
114494
  @organization_info = args[:organization_info] if args.key?(:organization_info)
113842
114495
  @presence_prop = args[:presence_prop] if args.key?(:presence_prop)
114496
+ @segmented_membership_counts = args[:segmented_membership_counts] if args.key?(:segmented_membership_counts)
113843
114497
  end
113844
114498
  end
113845
114499
 
@@ -115866,11 +116520,6 @@ module Google
115866
116520
  class TravelFlightsAirlineConfig
115867
116521
  include Google::Apis::Core::Hashable
115868
116522
 
115869
- # Populated using airlines_company_ids.csv for AdWords company map
115870
- # Corresponds to the JSON property `adwordsCid`
115871
- # @return [Fixnum]
115872
- attr_accessor :adwords_cid
115873
-
115874
116523
  # STAR_ALLIANCE
115875
116524
  # Corresponds to the JSON property `alliance`
115876
116525
  # @return [String]
@@ -115986,7 +116635,6 @@ module Google
115986
116635
 
115987
116636
  # Update properties of this object
115988
116637
  def update!(**args)
115989
- @adwords_cid = args[:adwords_cid] if args.key?(:adwords_cid)
115990
116638
  @alliance = args[:alliance] if args.key?(:alliance)
115991
116639
  @baggage_carryon_limitations_urls = args[:baggage_carryon_limitations_urls] if args.key?(:baggage_carryon_limitations_urls)
115992
116640
  @baggage_fee_urls = args[:baggage_fee_urls] if args.key?(:baggage_fee_urls)
@@ -116548,7 +117196,7 @@ module Google
116548
117196
  # @return [Fixnum]
116549
117197
  attr_accessor :hop_robots_info
116550
117198
 
116551
- # ============================ Next Tag: 21 ============================ Data
117199
+ # ============================ Next Tag: 22 ============================ Data
116552
117200
  # about the scheduling host bucket a URL was in (if the client wants to use this,
116553
117201
  # e.g. for more intelligent scheduling, etc).
116554
117202
  # Corresponds to the JSON property `HostBucketData`
@@ -117522,7 +118170,7 @@ module Google
117522
118170
  end
117523
118171
  end
117524
118172
 
117525
- # ============================ Next Tag: 21 ============================ Data
118173
+ # ============================ Next Tag: 22 ============================ Data
117526
118174
  # about the scheduling host bucket a URL was in (if the client wants to use this,
117527
118175
  # e.g. for more intelligent scheduling, etc).
117528
118176
  class TrawlerHostBucketData
@@ -117647,6 +118295,17 @@ module Google
117647
118295
  # @return [Fixnum]
117648
118296
  attr_accessor :num_urls
117649
118297
 
118298
+ # Total qps for this partner dedicated hostload, for non partner it will be -1.0.
118299
+ # Corresponds to the JSON property `PartnerTotalCapacityQps`
118300
+ # @return [Float]
118301
+ attr_accessor :partner_total_capacity_qps
118302
+
118303
+ # Currently used qps for this partner dedicated hostlaod, for non partner it
118304
+ # will be -1.0.
118305
+ # Corresponds to the JSON property `PartnerTotalUsedQps`
118306
+ # @return [Float]
118307
+ attr_accessor :partner_total_used_qps
118308
+
117650
118309
  # The type of the request (low latency vs. high throughput)
117651
118310
  # Corresponds to the JSON property `RequestType`
117652
118311
  # @return [String]
@@ -117668,6 +118327,8 @@ module Google
117668
118327
  @is_list_for_url = args[:is_list_for_url] if args.key?(:is_list_for_url)
117669
118328
  @num_current_fetches = args[:num_current_fetches] if args.key?(:num_current_fetches)
117670
118329
  @num_urls = args[:num_urls] if args.key?(:num_urls)
118330
+ @partner_total_capacity_qps = args[:partner_total_capacity_qps] if args.key?(:partner_total_capacity_qps)
118331
+ @partner_total_used_qps = args[:partner_total_used_qps] if args.key?(:partner_total_used_qps)
117671
118332
  @request_type = args[:request_type] if args.key?(:request_type)
117672
118333
  @requestor_fp = args[:requestor_fp] if args.key?(:requestor_fp)
117673
118334
  end
@@ -120032,7 +120693,7 @@ module Google
120032
120693
  # Intended to be simpler to work with than the ExportedStanza it's derived from
120033
120694
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
120034
120695
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
120035
- # 77
120696
+ # 78
120036
120697
  # Corresponds to the JSON property `miniStanza`
120037
120698
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
120038
120699
  attr_accessor :mini_stanza
@@ -124764,6 +125425,31 @@ module Google
124764
125425
  end
124765
125426
  end
124766
125427
 
125428
+ # YT app video information. (go/yt-create-vsi-data)
125429
+ class VideoGoogleVideoClipInfo
125430
+ include Google::Apis::Core::Hashable
125431
+
125432
+ # YT app version (ie. YT Create app version).
125433
+ # Corresponds to the JSON property `appVersion`
125434
+ # @return [String]
125435
+ attr_accessor :app_version
125436
+
125437
+ # List of YT media asset logging ids.
125438
+ # Corresponds to the JSON property `assetLoggingId`
125439
+ # @return [Array<String>]
125440
+ attr_accessor :asset_logging_id
125441
+
125442
+ def initialize(**args)
125443
+ update!(**args)
125444
+ end
125445
+
125446
+ # Update properties of this object
125447
+ def update!(**args)
125448
+ @app_version = args[:app_version] if args.key?(:app_version)
125449
+ @asset_logging_id = args[:asset_logging_id] if args.key?(:asset_logging_id)
125450
+ end
125451
+ end
125452
+
124767
125453
  #
124768
125454
  class VideoLegosLegosAnnotationsSet
124769
125455
  include Google::Apis::Core::Hashable
@@ -124915,7 +125601,11 @@ module Google
124915
125601
  # @return [Google::Apis::ContentwarehouseV1::VideoMediaOverviewMediaClipInfoOverview]
124916
125602
  attr_accessor :media_clip_info_overview
124917
125603
 
124918
- #
125604
+ # The orientation is annotated based on the final displayed resolution of the
125605
+ # video file. A video will be labelled PORTRAIT whenever the height is greater
125606
+ # than the width. The orientation is only labelled UNKNOWN in the case that the
125607
+ # video stream had some transformation that was not a rotation in the video
125608
+ # stream.
124919
125609
  # Corresponds to the JSON property `orientation`
124920
125610
  # @return [String]
124921
125611
  attr_accessor :orientation
@@ -124930,7 +125620,11 @@ module Google
124930
125620
  # @return [String]
124931
125621
  attr_accessor :projection
124932
125622
 
124933
- #
125623
+ # The resolution for a video takes into account the displayed video size, and
125624
+ # takes into account the orientation. For example: - A 1920x1080 video will have
125625
+ # ORIENTATION_LANDSCAPE and RESOLUTION_1080P - A 1080x1920 video will have
125626
+ # ORIENTATION_PORTRAIT and RESOLUTION_1080P - A 1080x1080 video will have
125627
+ # ORIENTATION_LANDSCAPE and RESOLUTION_1080P
124934
125628
  # Corresponds to the JSON property `resolution`
124935
125629
  # @return [String]
124936
125630
  attr_accessor :resolution
@@ -125412,7 +126106,7 @@ module Google
125412
126106
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
125413
126107
  # same as those of transcodes. If the relevant info in source is too broken, the
125414
126108
  # corresponding fields (e.g., lengths) could be unset or with the default value,
125415
- # meaning VSI cannot compute them from the given info. Next id: 82
126109
+ # meaning VSI cannot compute them from the given info. Next id: 83
125416
126110
  # Corresponds to the JSON property `info`
125417
126111
  # @return [Google::Apis::ContentwarehouseV1::VideoVideoStreamInfo]
125418
126112
  attr_accessor :info
@@ -125619,7 +126313,7 @@ module Google
125619
126313
  end
125620
126314
  end
125621
126315
 
125622
- # LINT.IfChange Score calculated from a thumbnail. NextID: 15
126316
+ # LINT.IfChange Score calculated from a thumbnail. NextID: 16
125623
126317
  class VideoThumbnailsThumbnailScore
125624
126318
  include Google::Apis::Core::Hashable
125625
126319
 
@@ -125645,6 +126339,19 @@ module Google
125645
126339
  # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra]
125646
126340
  attr_accessor :dense_general_extra_features
125647
126341
 
126342
+ # A unique identifier for the image that is independent of the resolution. The
126343
+ # Image ID accompanies the image bytes through its lifecycle, from creation till
126344
+ # vanishing. Image ID is not based on image content; it is different than
126345
+ # checksum (e.g. two different images with the same bytes may not have the same
126346
+ # image ID). This ID is used as a unique identifier for clients such as T&S and
126347
+ # classifiers. For more info refer to go/thumbnail-id-ts-ab-testing Note: Image
126348
+ # ID's are still in development and are currently not exposed externally (may be
126349
+ # done in the future). Please contact yt-thumbnails-core@ before using it. Do
126350
+ # not use externally or in logs before contacting yt-thumbnails-core@
126351
+ # Corresponds to the JSON property `externalImageId`
126352
+ # @return [String]
126353
+ attr_accessor :external_image_id
126354
+
125648
126355
  # If true, score is manually assigned.
125649
126356
  # Corresponds to the JSON property `isAssigned`
125650
126357
  # @return [Boolean]
@@ -125709,6 +126416,7 @@ module Google
125709
126416
  @color_sampling = args[:color_sampling] if args.key?(:color_sampling)
125710
126417
  @dense_features = args[:dense_features] if args.key?(:dense_features)
125711
126418
  @dense_general_extra_features = args[:dense_general_extra_features] if args.key?(:dense_general_extra_features)
126419
+ @external_image_id = args[:external_image_id] if args.key?(:external_image_id)
125712
126420
  @is_assigned = args[:is_assigned] if args.key?(:is_assigned)
125713
126421
  @is_instant = args[:is_instant] if args.key?(:is_instant)
125714
126422
  @model_version = args[:model_version] if args.key?(:model_version)
@@ -126111,7 +126819,15 @@ module Google
126111
126819
  # @return [Fixnum]
126112
126820
  attr_accessor :stream_index
126113
126821
 
126114
- # video width and height.
126822
+ # The video stream's width and height. Important notes: 1) These are the coded
126823
+ # dimensions of the video stream and DO NOT take into account any rotation
126824
+ # metadata that may be present in the video container. Prefer to use the
126825
+ # MediaOverview::resolution and MediaOverview::orientation when possible. 2) In
126826
+ # the case you want detailed displayed width/height information, you can use the
126827
+ # MediaOverview::orientation to determine the displayed dimensions. E.g., in the
126828
+ # case of PORTRAIT orientation: displayed_width = min(width, height)
126829
+ # displayed_height = max(width, height) And for LANDSCAPE orientation:
126830
+ # displayed_width = max(width, height) displayed_height = min(width, height)
126115
126831
  # Corresponds to the JSON property `width`
126116
126832
  # @return [Fixnum]
126117
126833
  attr_accessor :width
@@ -126136,7 +126852,7 @@ module Google
126136
126852
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
126137
126853
  # same as those of transcodes. If the relevant info in source is too broken, the
126138
126854
  # corresponding fields (e.g., lengths) could be unset or with the default value,
126139
- # meaning VSI cannot compute them from the given info. Next id: 82
126855
+ # meaning VSI cannot compute them from the given info. Next id: 83
126140
126856
  class VideoVideoStreamInfo
126141
126857
  include Google::Apis::Core::Hashable
126142
126858
 
@@ -126300,6 +127016,11 @@ module Google
126300
127016
  # @return [Fixnum]
126301
127017
  attr_accessor :file_type
126302
127018
 
127019
+ # YT app video information. (go/yt-create-vsi-data)
127020
+ # Corresponds to the JSON property `googleVideoClipInfo`
127021
+ # @return [Google::Apis::ContentwarehouseV1::VideoGoogleVideoClipInfo]
127022
+ attr_accessor :google_video_clip_info
127023
+
126303
127024
  #
126304
127025
  # Corresponds to the JSON property `imageStream`
126305
127026
  # @return [Array<Google::Apis::ContentwarehouseV1::VideoVideoStreamInfoVideoStream>]
@@ -126585,6 +127306,7 @@ module Google
126585
127306
  @file_name = args[:file_name] if args.key?(:file_name)
126586
127307
  @file_size = args[:file_size] if args.key?(:file_size)
126587
127308
  @file_type = args[:file_type] if args.key?(:file_type)
127309
+ @google_video_clip_info = args[:google_video_clip_info] if args.key?(:google_video_clip_info)
126588
127310
  @image_stream = args[:image_stream] if args.key?(:image_stream)
126589
127311
  @is_asf = args[:is_asf] if args.key?(:is_asf)
126590
127312
  @is_image_file = args[:is_image_file] if args.key?(:is_image_file)
@@ -128875,7 +129597,7 @@ module Google
128875
129597
  # Intended to be simpler to work with than the ExportedStanza it's derived from
128876
129598
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
128877
129599
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
128878
- # 77
129600
+ # 78
128879
129601
  class YoutubeCommentsClusteringMiniStanza
128880
129602
  include Google::Apis::Core::Hashable
128881
129603
 
@@ -129012,6 +129734,11 @@ module Google
129012
129734
  attr_accessor :has_creator_reply
129013
129735
  alias_method :has_creator_reply?, :has_creator_reply
129014
129736
 
129737
+ # Impersonation scores map. Keyed by secondary key (score type).
129738
+ # Corresponds to the JSON property `impersonationScores`
129739
+ # @return [Hash<String,Float>]
129740
+ attr_accessor :impersonation_scores
129741
+
129015
129742
  # If the author is a channel member (sponsor).
129016
129743
  # Corresponds to the JSON property `isAuthorSponsor`
129017
129744
  # @return [Boolean]
@@ -129296,6 +130023,7 @@ module Google
129296
130023
  @fds = args[:fds] if args.key?(:fds)
129297
130024
  @has_creator_heart = args[:has_creator_heart] if args.key?(:has_creator_heart)
129298
130025
  @has_creator_reply = args[:has_creator_reply] if args.key?(:has_creator_reply)
130026
+ @impersonation_scores = args[:impersonation_scores] if args.key?(:impersonation_scores)
129299
130027
  @is_author_sponsor = args[:is_author_sponsor] if args.key?(:is_author_sponsor)
129300
130028
  @is_deleted = args[:is_deleted] if args.key?(:is_deleted)
129301
130029
  @is_pinned = args[:is_pinned] if args.key?(:is_pinned)