google-apis-contentwarehouse_v1 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3653,9 +3653,9 @@ module Google
3653
3653
  # @return [String]
3654
3654
  attr_accessor :contact_group_id
3655
3655
 
3656
- # If the Preference was implicitly set by PeopleApi. A preference with this bit
3657
- # will not be saved. See go/contact-group-email-preference-papi-problem for more
3658
- # info.
3656
+ # If the Preference was implicitly set by PeopleApi/Contacts Service. A
3657
+ # preference with this bit will not be saved to storage. See go/contact-group-
3658
+ # email-preference-papi-problem for more info.
3659
3659
  # Corresponds to the JSON property `isSynthetic`
3660
3660
  # @return [Boolean]
3661
3661
  attr_accessor :is_synthetic
@@ -7905,6 +7905,13 @@ module Google
7905
7905
  # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiProfileOwnerStats]
7906
7906
  attr_accessor :profile_owner_stats
7907
7907
 
7908
+ # Returned only when explicitly requested in the request mask as
7909
+ # read_only_profile_info.unjoined_email_certificates. Equivalent to fetching the
7910
+ # Emails & the Email Certificates with the acls ignored.
7911
+ # Corresponds to the JSON property `unjoinedEmailCertificates`
7912
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiEmail>]
7913
+ attr_accessor :unjoined_email_certificates
7914
+
7908
7915
  def initialize(**args)
7909
7916
  update!(**args)
7910
7917
  end
@@ -7923,6 +7930,7 @@ module Google
7923
7930
  @owner_user_type = args[:owner_user_type] if args.key?(:owner_user_type)
7924
7931
  @plus_page_type = args[:plus_page_type] if args.key?(:plus_page_type)
7925
7932
  @profile_owner_stats = args[:profile_owner_stats] if args.key?(:profile_owner_stats)
7933
+ @unjoined_email_certificates = args[:unjoined_email_certificates] if args.key?(:unjoined_email_certificates)
7926
7934
  end
7927
7935
  end
7928
7936
 
@@ -9343,6 +9351,26 @@ module Google
9343
9351
  end
9344
9352
  end
9345
9353
 
9354
+ # Bluetooth capabilities related to usage of a feature.
9355
+ class AssistantApiBluetoothCapabilities
9356
+ include Google::Apis::Core::Hashable
9357
+
9358
+ # If this surface needs to bluetooth pair a phone before using a feature.
9359
+ # Corresponds to the JSON property `isBluetoothConnectedProfileRequired`
9360
+ # @return [Boolean]
9361
+ attr_accessor :is_bluetooth_connected_profile_required
9362
+ alias_method :is_bluetooth_connected_profile_required?, :is_bluetooth_connected_profile_required
9363
+
9364
+ def initialize(**args)
9365
+ update!(**args)
9366
+ end
9367
+
9368
+ # Update properties of this object
9369
+ def update!(**args)
9370
+ @is_bluetooth_connected_profile_required = args[:is_bluetooth_connected_profile_required] if args.key?(:is_bluetooth_connected_profile_required)
9371
+ end
9372
+ end
9373
+
9346
9374
  # CallCapabilities supported by a surface. See go/call-capabilities. Next ID: 7
9347
9375
  class AssistantApiCallCapabilities
9348
9376
  include Google::Apis::Core::Hashable
@@ -10831,6 +10859,168 @@ module Google
10831
10859
  end
10832
10860
  end
10833
10861
 
10862
+ # The identification information for third party devices that integrates with
10863
+ # the assistant. All of these fields will be populated by the third party when
10864
+ # the query is sent from the third party device. Next Id: 5
10865
+ class AssistantApiCoreTypesGovernedDeviceConfig
10866
+ include Google::Apis::Core::Hashable
10867
+
10868
+ # Pantheon Project ID that uniquely identifies the consumer project ID. Required
10869
+ # Corresponds to the JSON property `agentId`
10870
+ # @return [String]
10871
+ attr_accessor :agent_id
10872
+
10873
+ # Unique identifier for the device. Example: DBCDW098234. Required
10874
+ # Corresponds to the JSON property `deviceId`
10875
+ # @return [String]
10876
+ attr_accessor :device_id
10877
+
10878
+ def initialize(**args)
10879
+ update!(**args)
10880
+ end
10881
+
10882
+ # Update properties of this object
10883
+ def update!(**args)
10884
+ @agent_id = args[:agent_id] if args.key?(:agent_id)
10885
+ @device_id = args[:device_id] if args.key?(:device_id)
10886
+ end
10887
+ end
10888
+
10889
+ # LINT.IfChange Specifies identifier of a device AKA surface. Note there may be
10890
+ # multiple device ids for the same physical device E.g. Allo app and Assistant
10891
+ # app on Nexus. Note: DeviceId usage is complicated. Please do not depend on it
10892
+ # for surface specific logic. Please use google3/assistant/api/capabilities.
10893
+ # proto instead. IMPORTANT: When checking for equality between two `DeviceId`s,
10894
+ # you should always use an `isSameDevice`As`` function to check for equality, as
10895
+ # deep equality between `DeviceId`'s is not guaranteed. * C++: http://google3/
10896
+ # assistant/assistant_server/util/device_id_util.cc;l=23;rcl=421295740 * Dart:
10897
+ # http://google3/assistant/context/util/lib/device_id.dart;l=26;rcl=442126145 *
10898
+ # Java: http://google3/java/com/google/assistant/assistantserver/utils/
10899
+ # DeviceIdHelper.java;l=9;rcl=390378522 See http://go/deviceid-equality for more
10900
+ # details. Next ID: 14
10901
+ class AssistantApiCoreTypesGovernedDeviceId
10902
+ include Google::Apis::Core::Hashable
10903
+
10904
+ # The client_instance_id on devices with GSA. See 'client_instance_field' in go/
10905
+ # androidids.
10906
+ # Corresponds to the JSON property `agsaClientInstanceId`
10907
+ # @return [String]
10908
+ attr_accessor :agsa_client_instance_id
10909
+
10910
+ # Allo Id. Corresponds to the GBotRequest.Sender.sender. NOTE(dychen): This may
10911
+ # change to standard android/ios physical device ids in order to enable shared
10912
+ # data (e.g. installed app on physical device shared between Allo and Opa apps
10913
+ # on Nexus).
10914
+ # Corresponds to the JSON property `alloDeviceId`
10915
+ # @return [String]
10916
+ attr_accessor :allo_device_id
10917
+
10918
+ # A unique device ID for Assistant devices as proposed by go/ocelot-team to
10919
+ # solve the device id fragmentation problem. The value of this id is the
10920
+ # HomeGraph id of the device. See go/ocelot-track-0-registry-design. New
10921
+ # surfaces should use the canonical_device_id instead of using other ids, and
10922
+ # the registration should utilize the DeviceDataLayer (go/ddl-v0). Please
10923
+ # contact the assistant-state-management@ team for guidance. Note: We didn't
10924
+ # reuse |home_graph_device_id| because in Assistant code base |
10925
+ # home_graph_device_id| is common to associate it with 3P devices. See go/
10926
+ # project-yellowstone for more context.
10927
+ # Corresponds to the JSON property `canonicalDeviceId`
10928
+ # @return [String]
10929
+ attr_accessor :canonical_device_id
10930
+
10931
+ # If set, indicates that the device is a cast device, and contains the UUID of
10932
+ # the cast device. Corresponds to the device_id field of the CastDevice proto.
10933
+ # Corresponds to the JSON property `castDeviceId`
10934
+ # @return [String]
10935
+ attr_accessor :cast_device_id
10936
+
10937
+ # DUSI (go/dusi) is used as the identifier here. This identifier is unique to
10938
+ # the user and device. This will help identify which device or application the
10939
+ # user's request originated from. This is not to be confused with the
10940
+ # client_instance_id that android devices provide. This is currently used by
10941
+ # surfaces that use the assistant-legacy-nexus and assistant-legacy-clockwork
10942
+ # pipelines. DUSI is created and set in S3. This field is only filled for GAIA
10943
+ # requests.
10944
+ # Corresponds to the JSON property `clientInstanceId`
10945
+ # @return [String]
10946
+ attr_accessor :client_instance_id
10947
+
10948
+ # A device ID produced by a connected dock, which is registered in HomeGraph.
10949
+ # Corresponds to the JSON property `connectedDockId`
10950
+ # @return [String]
10951
+ attr_accessor :connected_dock_id
10952
+
10953
+ # The identification information for third party devices that integrates with
10954
+ # the assistant. All of these fields will be populated by the third party when
10955
+ # the query is sent from the third party device. Next Id: 5
10956
+ # Corresponds to the JSON property `deviceConfig`
10957
+ # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedDeviceConfig]
10958
+ attr_accessor :device_config
10959
+
10960
+ # The device's surface type. This is the string version of surface_type. The
10961
+ # server should use the SurfaceType value derived from this string. If the
10962
+ # device_type isn't supported within the SurfaceType enum, it will be set as
10963
+ # UNKNOWN. Developers should use the enum in ServerParams instead of this string.
10964
+ # Corresponds to the JSON property `deviceType`
10965
+ # @return [String]
10966
+ attr_accessor :device_type
10967
+
10968
+ # The unique device ID for HomeGraph devices. This is the HomeGraph ID, created
10969
+ # when the device is registered into HomeGraph. It is immutable for the same
10970
+ # device unless it is completely deleted and recreated. See go/home-graph for
10971
+ # details.
10972
+ # Corresponds to the JSON property `homeGraphDeviceId`
10973
+ # @return [String]
10974
+ attr_accessor :home_graph_device_id
10975
+
10976
+ # The unique ID for libassistant based devices. See go/libassistant-id for
10977
+ # details.
10978
+ # Corresponds to the JSON property `libassistantDeviceId`
10979
+ # @return [String]
10980
+ attr_accessor :libassistant_device_id
10981
+
10982
+ # If set, indicates that the device is participating the multi-hotword
10983
+ # arbitration and the id is an UUID to distinguish it from other devices. It
10984
+ # should also be consistent between requests from a single device within a
10985
+ # session (or short duration).
10986
+ # Corresponds to the JSON property `multiHotwordArbitrationDeviceId`
10987
+ # @return [String]
10988
+ attr_accessor :multi_hotword_arbitration_device_id
10989
+
10990
+ # The unique device ID for the Assistant App on iOS. See go/opa-ios-design for
10991
+ # details.
10992
+ # Corresponds to the JSON property `opaIosDeviceId`
10993
+ # @return [String]
10994
+ attr_accessor :opa_ios_device_id
10995
+
10996
+ # The unique ID of a Quartz device. See go/quartz-design-doc for more details.
10997
+ # Quartz ID is a hash of (android_id + gaia).
10998
+ # Corresponds to the JSON property `quartzDeviceId`
10999
+ # @return [String]
11000
+ attr_accessor :quartz_device_id
11001
+
11002
+ def initialize(**args)
11003
+ update!(**args)
11004
+ end
11005
+
11006
+ # Update properties of this object
11007
+ def update!(**args)
11008
+ @agsa_client_instance_id = args[:agsa_client_instance_id] if args.key?(:agsa_client_instance_id)
11009
+ @allo_device_id = args[:allo_device_id] if args.key?(:allo_device_id)
11010
+ @canonical_device_id = args[:canonical_device_id] if args.key?(:canonical_device_id)
11011
+ @cast_device_id = args[:cast_device_id] if args.key?(:cast_device_id)
11012
+ @client_instance_id = args[:client_instance_id] if args.key?(:client_instance_id)
11013
+ @connected_dock_id = args[:connected_dock_id] if args.key?(:connected_dock_id)
11014
+ @device_config = args[:device_config] if args.key?(:device_config)
11015
+ @device_type = args[:device_type] if args.key?(:device_type)
11016
+ @home_graph_device_id = args[:home_graph_device_id] if args.key?(:home_graph_device_id)
11017
+ @libassistant_device_id = args[:libassistant_device_id] if args.key?(:libassistant_device_id)
11018
+ @multi_hotword_arbitration_device_id = args[:multi_hotword_arbitration_device_id] if args.key?(:multi_hotword_arbitration_device_id)
11019
+ @opa_ios_device_id = args[:opa_ios_device_id] if args.key?(:opa_ios_device_id)
11020
+ @quartz_device_id = args[:quartz_device_id] if args.key?(:quartz_device_id)
11021
+ end
11022
+ end
11023
+
10834
11024
  # Task metadata information describing the ringtone. Next id: 11
10835
11025
  class AssistantApiCoreTypesGovernedRingtoneTaskMetadata
10836
11026
  include Google::Apis::Core::Hashable
@@ -12079,7 +12269,7 @@ module Google
12079
12269
  # enum. A surface's capabilities can differ from the device's. An example would
12080
12270
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
12081
12271
  # Pixel does. In this case, audio_input will be set to false for Assistant Allo
12082
- # requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
12272
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 35
12083
12273
  class AssistantApiDeviceCapabilities
12084
12274
  include Google::Apis::Core::Hashable
12085
12275
 
@@ -12104,6 +12294,11 @@ module Google
12104
12294
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiAudioOutput]
12105
12295
  attr_accessor :audio_output
12106
12296
 
12297
+ # Bluetooth capabilities related to usage of a feature.
12298
+ # Corresponds to the JSON property `bluetoothCapabilities`
12299
+ # @return [Google::Apis::ContentwarehouseV1::AssistantApiBluetoothCapabilities]
12300
+ attr_accessor :bluetooth_capabilities
12301
+
12107
12302
  # CallCapabilities supported by a surface. See go/call-capabilities. Next ID: 7
12108
12303
  # Corresponds to the JSON property `callCapabilities`
12109
12304
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCallCapabilities]
@@ -12305,6 +12500,7 @@ module Google
12305
12500
  @android_intent_capabilities = args[:android_intent_capabilities] if args.key?(:android_intent_capabilities)
12306
12501
  @audio_input = args[:audio_input] if args.key?(:audio_input)
12307
12502
  @audio_output = args[:audio_output] if args.key?(:audio_output)
12503
+ @bluetooth_capabilities = args[:bluetooth_capabilities] if args.key?(:bluetooth_capabilities)
12308
12504
  @call_capabilities = args[:call_capabilities] if args.key?(:call_capabilities)
12309
12505
  @camera = args[:camera] if args.key?(:camera)
12310
12506
  @car_ux_restrictions = args[:car_ux_restrictions] if args.key?(:car_ux_restrictions)
@@ -14205,7 +14401,7 @@ module Google
14205
14401
  # enum. A surface's capabilities can differ from the device's. An example would
14206
14402
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
14207
14403
  # Pixel does. In this case, audio_input will be set to false for Assistant Allo
14208
- # requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
14404
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 35
14209
14405
  # Corresponds to the JSON property `capabilities`
14210
14406
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiDeviceCapabilities]
14211
14407
  attr_accessor :capabilities
@@ -16482,21 +16678,6 @@ module Google
16482
16678
  attr_accessor :click_impersonation_supported
16483
16679
  alias_method :click_impersonation_supported?, :click_impersonation_supported
16484
16680
 
16485
- # Whether client supports suggestion chips with colored background/border.
16486
- # Deprecated in favor of go/color-token-suggestion-chip.
16487
- # Corresponds to the JSON property `coloredChipBackgroundBorderSupported`
16488
- # @return [Boolean]
16489
- attr_accessor :colored_chip_background_border_supported
16490
- alias_method :colored_chip_background_border_supported?, :colored_chip_background_border_supported
16491
-
16492
- # Whether client supports suggestion chips with colored text. See design doc:
16493
- # http://go/opa-suggestions-ux-eng-design. Deprecated in favor of go/color-token-
16494
- # suggestion-chip.
16495
- # Corresponds to the JSON property `coloredChipTextSupported`
16496
- # @return [Boolean]
16497
- attr_accessor :colored_chip_text_supported
16498
- alias_method :colored_chip_text_supported?, :colored_chip_text_supported
16499
-
16500
16681
  # Whether client supports suggestions debug data to be displayed.
16501
16682
  # Corresponds to the JSON property `debugDataSupported`
16502
16683
  # @return [Boolean]
@@ -16600,8 +16781,6 @@ module Google
16600
16781
  # Update properties of this object
16601
16782
  def update!(**args)
16602
16783
  @click_impersonation_supported = args[:click_impersonation_supported] if args.key?(:click_impersonation_supported)
16603
- @colored_chip_background_border_supported = args[:colored_chip_background_border_supported] if args.key?(:colored_chip_background_border_supported)
16604
- @colored_chip_text_supported = args[:colored_chip_text_supported] if args.key?(:colored_chip_text_supported)
16605
16784
  @debug_data_supported = args[:debug_data_supported] if args.key?(:debug_data_supported)
16606
16785
  @drl_history_chip_supported = args[:drl_history_chip_supported] if args.key?(:drl_history_chip_supported)
16607
16786
  @escape_hatch_supported = args[:escape_hatch_supported] if args.key?(:escape_hatch_supported)
@@ -17767,6 +17946,276 @@ module Google
17767
17946
  end
17768
17947
  end
17769
17948
 
17949
+ # LINT.IfChanged Identifier for an application provider. NOTE: AppProviderId
17950
+ # contains surface-specific info, such as the Android package name of the
17951
+ # application. This was necessary for supporting current use cases that rely on
17952
+ # surface-specific info in feature code. Eventually we want to deprecate
17953
+ # AppProviderId and fetch surface-specific info in some other way (e.g. in a
17954
+ # surface-translation layer). But until then, we may continue extending
17955
+ # AppProviderId with other surface-specific info.
17956
+ class AssistantContextAppProviderId
17957
+ include Google::Apis::Core::Hashable
17958
+
17959
+ # The activity class name. E.g. com.google.android.gm.ui.MailActivityGmail
17960
+ # Corresponds to the JSON property `activityClassName`
17961
+ # @return [String]
17962
+ attr_accessor :activity_class_name
17963
+
17964
+ # Unique package name that identifies an Android app of the provider.
17965
+ # Corresponds to the JSON property `androidPackageName`
17966
+ # @return [String]
17967
+ attr_accessor :android_package_name
17968
+
17969
+ # Version code of the application.
17970
+ # Corresponds to the JSON property `versionCode`
17971
+ # @return [Fixnum]
17972
+ attr_accessor :version_code
17973
+
17974
+ def initialize(**args)
17975
+ update!(**args)
17976
+ end
17977
+
17978
+ # Update properties of this object
17979
+ def update!(**args)
17980
+ @activity_class_name = args[:activity_class_name] if args.key?(:activity_class_name)
17981
+ @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
17982
+ @version_code = args[:version_code] if args.key?(:version_code)
17983
+ end
17984
+ end
17985
+
17986
+ # IMPORTANT: This proto is being migrated to ProviderId. If you are adding new
17987
+ # field, please add to ProviderId as well.
17988
+ class AssistantContextMediaProviderId
17989
+ include Google::Apis::Core::Hashable
17990
+
17991
+ # Unique package name that identifies a Android app of the provider.
17992
+ # Corresponds to the JSON property `androidPackageName`
17993
+ # @return [String]
17994
+ attr_accessor :android_package_name
17995
+
17996
+ # Unique app id that identifies a Cast app of the provider.
17997
+ # Corresponds to the JSON property `castAppId`
17998
+ # @return [String]
17999
+ attr_accessor :cast_app_id
18000
+
18001
+ # Unique package name that identifies a ChromeOS app of the provider.
18002
+ # Corresponds to the JSON property `chromeOsPackageName`
18003
+ # @return [String]
18004
+ attr_accessor :chrome_os_package_name
18005
+
18006
+ # Unique package name that identifies a Home app of the provider.
18007
+ # Corresponds to the JSON property `homeAppPackageName`
18008
+ # @return [String]
18009
+ attr_accessor :home_app_package_name
18010
+
18011
+ # Bundle identifier that identifies an iOS app of the provider.
18012
+ # Corresponds to the JSON property `iosBundleIdentifier`
18013
+ # @return [String]
18014
+ attr_accessor :ios_bundle_identifier
18015
+
18016
+ # Unique package name that identifies a KaiOS app of the provider.
18017
+ # Corresponds to the JSON property `kaiOsPackageName`
18018
+ # @return [String]
18019
+ attr_accessor :kai_os_package_name
18020
+
18021
+ # Each onboarded provider has a unique provider key. KG provider keys are string
18022
+ # identifiers used to identify a provider in some Media backends since mids,
18023
+ # names, etc can change.
18024
+ # Corresponds to the JSON property `kgProviderKey`
18025
+ # @return [String]
18026
+ attr_accessor :kg_provider_key
18027
+
18028
+ # The MID of the provider. A MID is a unique identifier issued by Knowledge
18029
+ # Graph for all entities contained in it's graph.
18030
+ # Corresponds to the JSON property `mid`
18031
+ # @return [String]
18032
+ attr_accessor :mid
18033
+
18034
+ # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18035
+ # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18036
+ # end up using surface specific identifiers (e.g. Android package names, iOS
18037
+ # bundle identifiers, etc.) to differentiate amongst them. This field allows us
18038
+ # to move away from surface specific identifiers towards a surface-agnostic enum
18039
+ # representing the same information.
18040
+ # Corresponds to the JSON property `providerVariant`
18041
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderVariant]
18042
+ attr_accessor :provider_variant
18043
+
18044
+ # Bundle id that identifies an Session Initiation Protocol (SIP) provider.
18045
+ # Corresponds to the JSON property `sipProviderId`
18046
+ # @return [String]
18047
+ attr_accessor :sip_provider_id
18048
+
18049
+ def initialize(**args)
18050
+ update!(**args)
18051
+ end
18052
+
18053
+ # Update properties of this object
18054
+ def update!(**args)
18055
+ @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
18056
+ @cast_app_id = args[:cast_app_id] if args.key?(:cast_app_id)
18057
+ @chrome_os_package_name = args[:chrome_os_package_name] if args.key?(:chrome_os_package_name)
18058
+ @home_app_package_name = args[:home_app_package_name] if args.key?(:home_app_package_name)
18059
+ @ios_bundle_identifier = args[:ios_bundle_identifier] if args.key?(:ios_bundle_identifier)
18060
+ @kai_os_package_name = args[:kai_os_package_name] if args.key?(:kai_os_package_name)
18061
+ @kg_provider_key = args[:kg_provider_key] if args.key?(:kg_provider_key)
18062
+ @mid = args[:mid] if args.key?(:mid)
18063
+ @provider_variant = args[:provider_variant] if args.key?(:provider_variant)
18064
+ @sip_provider_id = args[:sip_provider_id] if args.key?(:sip_provider_id)
18065
+ end
18066
+ end
18067
+
18068
+ # Identifier used to represent a single application (a.k.a. provider). This
18069
+ # model represents the surface-agnostic counterpart for assistant.api.core_types.
18070
+ # Provider. E.g. it should avoid directly using package names for Android,
18071
+ # bundle identifiers for iOS, etc. We require the transformation between
18072
+ # assistant.context.ProviderId and assistant.api.core_types.Provider to either
18073
+ # be lossless, or "lossy yet retrievable" (e.g. if package name is not available
18074
+ # in ProviderId, it can still be retrieved using the ProviderMappingsModule).
18075
+ # NOTE: 1. As of May 2021, verticals are highly fragmented in terms of how they
18076
+ # represent/identify a provider, and so we may need to accommodate some vertical-
18077
+ # specific representations. However, these should be generalized as much as
18078
+ # possible so that they can be used by other verticals if needed. 2. If we need
18079
+ # to differentiate between whether a provider is a media provider, app actions
18080
+ # provider, timer provider, etc. we should capture this information in the
18081
+ # context proto that contains a ProviderId field, rather than in the ProviderId
18082
+ # message itself. 3. Any common fields across different provider identifier
18083
+ # representations (e.g. ecosystem type) should be part of assistant.context.
18084
+ # ProviderId directly.
18085
+ class AssistantContextProviderId
18086
+ include Google::Apis::Core::Hashable
18087
+
18088
+ # LINT.IfChanged Identifier for an application provider. NOTE: AppProviderId
18089
+ # contains surface-specific info, such as the Android package name of the
18090
+ # application. This was necessary for supporting current use cases that rely on
18091
+ # surface-specific info in feature code. Eventually we want to deprecate
18092
+ # AppProviderId and fetch surface-specific info in some other way (e.g. in a
18093
+ # surface-translation layer). But until then, we may continue extending
18094
+ # AppProviderId with other surface-specific info.
18095
+ # Corresponds to the JSON property `appProviderId`
18096
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextAppProviderId]
18097
+ attr_accessor :app_provider_id
18098
+
18099
+ # Ecosystem type for this provider.
18100
+ # Corresponds to the JSON property `ecosystemType`
18101
+ # @return [String]
18102
+ attr_accessor :ecosystem_type
18103
+
18104
+ # IMPORTANT: This proto is being migrated to ProviderId. If you are adding new
18105
+ # field, please add to ProviderId as well.
18106
+ # Corresponds to the JSON property `mediaProviderId`
18107
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextMediaProviderId]
18108
+ attr_accessor :media_provider_id
18109
+
18110
+ # The MID of the provider. A MID is a unique identifier issued by Knowledge
18111
+ # Graph for all entities contained in it's graph.
18112
+ # Corresponds to the JSON property `mid`
18113
+ # @return [String]
18114
+ attr_accessor :mid
18115
+
18116
+ # Represents how to naturally identify a provider. A copy of google3/assistant/
18117
+ # serviceengine/proto/serving/natural_provider_id.proto.
18118
+ # Corresponds to the JSON property `naturalProviderId`
18119
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderIdNaturalProviderId]
18120
+ attr_accessor :natural_provider_id
18121
+
18122
+ # ID issued by the Provider Corpus to uniquely identify a provider entity e.g.
18123
+ # an Android app, a Cast app or a Cloud provider. In practice, a single partner
18124
+ # can have multiple providers entities. For more detail, see go/se-storage-
18125
+ # provider-id. This is the preferred/ standardized ID to use for ProviderId that
18126
+ # all use-cases should eventually migrate to.
18127
+ # Corresponds to the JSON property `providerCorpusId`
18128
+ # @return [Fixnum]
18129
+ attr_accessor :provider_corpus_id
18130
+
18131
+ # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18132
+ # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18133
+ # end up using surface specific identifiers (e.g. Android package names, iOS
18134
+ # bundle identifiers, etc.) to differentiate amongst them. This field allows us
18135
+ # to move away from surface specific identifiers towards a surface-agnostic enum
18136
+ # representing the same information.
18137
+ # Corresponds to the JSON property `providerVariant`
18138
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderVariant]
18139
+ attr_accessor :provider_variant
18140
+
18141
+ def initialize(**args)
18142
+ update!(**args)
18143
+ end
18144
+
18145
+ # Update properties of this object
18146
+ def update!(**args)
18147
+ @app_provider_id = args[:app_provider_id] if args.key?(:app_provider_id)
18148
+ @ecosystem_type = args[:ecosystem_type] if args.key?(:ecosystem_type)
18149
+ @media_provider_id = args[:media_provider_id] if args.key?(:media_provider_id)
18150
+ @mid = args[:mid] if args.key?(:mid)
18151
+ @natural_provider_id = args[:natural_provider_id] if args.key?(:natural_provider_id)
18152
+ @provider_corpus_id = args[:provider_corpus_id] if args.key?(:provider_corpus_id)
18153
+ @provider_variant = args[:provider_variant] if args.key?(:provider_variant)
18154
+ end
18155
+ end
18156
+
18157
+ # Represents how to naturally identify a provider. A copy of google3/assistant/
18158
+ # serviceengine/proto/serving/natural_provider_id.proto.
18159
+ class AssistantContextProviderIdNaturalProviderId
18160
+ include Google::Apis::Core::Hashable
18161
+
18162
+ # ProviderType is an enum to represent the category of where this id is from.
18163
+ # Corresponds to the JSON property `providerType`
18164
+ # @return [String]
18165
+ attr_accessor :provider_type
18166
+
18167
+ # String of provider_id_value is the actual value of the id.
18168
+ # Corresponds to the JSON property `value`
18169
+ # @return [String]
18170
+ attr_accessor :value
18171
+
18172
+ def initialize(**args)
18173
+ update!(**args)
18174
+ end
18175
+
18176
+ # Update properties of this object
18177
+ def update!(**args)
18178
+ @provider_type = args[:provider_type] if args.key?(:provider_type)
18179
+ @value = args[:value] if args.key?(:value)
18180
+ end
18181
+ end
18182
+
18183
+ # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18184
+ # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18185
+ # end up using surface specific identifiers (e.g. Android package names, iOS
18186
+ # bundle identifiers, etc.) to differentiate amongst them. This field allows us
18187
+ # to move away from surface specific identifiers towards a surface-agnostic enum
18188
+ # representing the same information.
18189
+ class AssistantContextProviderVariant
18190
+ include Google::Apis::Core::Hashable
18191
+
18192
+ #
18193
+ # Corresponds to the JSON property `emptyMidVariant`
18194
+ # @return [String]
18195
+ attr_accessor :empty_mid_variant
18196
+
18197
+ #
18198
+ # Corresponds to the JSON property `spotifyVariant`
18199
+ # @return [String]
18200
+ attr_accessor :spotify_variant
18201
+
18202
+ #
18203
+ # Corresponds to the JSON property `youtubeVariant`
18204
+ # @return [String]
18205
+ attr_accessor :youtube_variant
18206
+
18207
+ def initialize(**args)
18208
+ update!(**args)
18209
+ end
18210
+
18211
+ # Update properties of this object
18212
+ def update!(**args)
18213
+ @empty_mid_variant = args[:empty_mid_variant] if args.key?(:empty_mid_variant)
18214
+ @spotify_variant = args[:spotify_variant] if args.key?(:spotify_variant)
18215
+ @youtube_variant = args[:youtube_variant] if args.key?(:youtube_variant)
18216
+ end
18217
+ end
18218
+
17770
18219
  # The information associated with an error while selecting the target device.
17771
18220
  # Next ID: 2
17772
18221
  class AssistantDeviceTargetingDeviceTargetingError
@@ -19042,7 +19491,37 @@ module Google
19042
19491
  end
19043
19492
  end
19044
19493
 
19045
- # Next ID: 4
19494
+ # Features to be extracted from Device GP for ranking in HGR. Next ID: 2
19495
+ class AssistantGroundingRankerDeviceGroundingProviderFeatures
19496
+ include Google::Apis::Core::Hashable
19497
+
19498
+ # LINT.IfChange Specifies identifier of a device AKA surface. Note there may be
19499
+ # multiple device ids for the same physical device E.g. Allo app and Assistant
19500
+ # app on Nexus. Note: DeviceId usage is complicated. Please do not depend on it
19501
+ # for surface specific logic. Please use google3/assistant/api/capabilities.
19502
+ # proto instead. IMPORTANT: When checking for equality between two `DeviceId`s,
19503
+ # you should always use an `isSameDevice`As`` function to check for equality, as
19504
+ # deep equality between `DeviceId`'s is not guaranteed. * C++: http://google3/
19505
+ # assistant/assistant_server/util/device_id_util.cc;l=23;rcl=421295740 * Dart:
19506
+ # http://google3/assistant/context/util/lib/device_id.dart;l=26;rcl=442126145 *
19507
+ # Java: http://google3/java/com/google/assistant/assistantserver/utils/
19508
+ # DeviceIdHelper.java;l=9;rcl=390378522 See http://go/deviceid-equality for more
19509
+ # details. Next ID: 14
19510
+ # Corresponds to the JSON property `deviceId`
19511
+ # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedDeviceId]
19512
+ attr_accessor :device_id
19513
+
19514
+ def initialize(**args)
19515
+ update!(**args)
19516
+ end
19517
+
19518
+ # Update properties of this object
19519
+ def update!(**args)
19520
+ @device_id = args[:device_id] if args.key?(:device_id)
19521
+ end
19522
+ end
19523
+
19524
+ # Next ID: 5
19046
19525
  class AssistantGroundingRankerGroundingProviderFeatures
19047
19526
  include Google::Apis::Core::Hashable
19048
19527
 
@@ -19051,12 +19530,17 @@ module Google
19051
19530
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
19052
19531
  attr_accessor :contact_grounding_provider_features
19053
19532
 
19054
- # Features to be passed from Media GP to HGR. Next ID: 6
19533
+ # Features to be extracted from Device GP for ranking in HGR. Next ID: 2
19534
+ # Corresponds to the JSON property `deviceGroundingProviderFeatures`
19535
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceGroundingProviderFeatures]
19536
+ attr_accessor :device_grounding_provider_features
19537
+
19538
+ # Features to be passed from Media GP to HGR. Next ID: 9
19055
19539
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
19056
19540
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
19057
19541
  attr_accessor :media_grounding_provider_features
19058
19542
 
19059
- # Features to be extracted from Provider GP for ranking in HGR. Next ID: 2
19543
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 4
19060
19544
  # Corresponds to the JSON property `providerGroundingProviderFeatures`
19061
19545
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerProviderGroundingProviderFeatures]
19062
19546
  attr_accessor :provider_grounding_provider_features
@@ -19068,6 +19552,7 @@ module Google
19068
19552
  # Update properties of this object
19069
19553
  def update!(**args)
19070
19554
  @contact_grounding_provider_features = args[:contact_grounding_provider_features] if args.key?(:contact_grounding_provider_features)
19555
+ @device_grounding_provider_features = args[:device_grounding_provider_features] if args.key?(:device_grounding_provider_features)
19071
19556
  @media_grounding_provider_features = args[:media_grounding_provider_features] if args.key?(:media_grounding_provider_features)
19072
19557
  @provider_grounding_provider_features = args[:provider_grounding_provider_features] if args.key?(:provider_grounding_provider_features)
19073
19558
  end
@@ -19192,10 +19677,21 @@ module Google
19192
19677
  end
19193
19678
  end
19194
19679
 
19195
- # Features to be passed from Media GP to HGR. Next ID: 6
19680
+ # Features to be passed from Media GP to HGR. Next ID: 9
19196
19681
  class AssistantGroundingRankerMediaGroundingProviderFeatures
19197
19682
  include Google::Apis::Core::Hashable
19198
19683
 
19684
+ # Release type for an album container.
19685
+ # Corresponds to the JSON property `albumReleaseType`
19686
+ # @return [String]
19687
+ attr_accessor :album_release_type
19688
+
19689
+ # True if the argument's type was explicitly mentioned in the query.
19690
+ # Corresponds to the JSON property `hasTypeSemanticEdge`
19691
+ # @return [Boolean]
19692
+ attr_accessor :has_type_semantic_edge
19693
+ alias_method :has_type_semantic_edge?, :has_type_semantic_edge
19694
+
19199
19695
  # Whether the candidate is YouTube CAST_VIDEO candidate. CAST_VIDEO is a
19200
19696
  # deeplink platform. This signal will be used to promote YouTube Music screenful
19201
19697
  # candidates with CAST_VIDEO platform for free users because free users cannot
@@ -19236,24 +19732,59 @@ module Google
19236
19732
  # @return [Float]
19237
19733
  attr_accessor :scubed_p_sai_music
19238
19734
 
19735
+ # Type of the media item.
19736
+ # Corresponds to the JSON property `type`
19737
+ # @return [String]
19738
+ attr_accessor :type
19739
+
19239
19740
  def initialize(**args)
19240
19741
  update!(**args)
19241
19742
  end
19242
19743
 
19243
19744
  # Update properties of this object
19244
19745
  def update!(**args)
19746
+ @album_release_type = args[:album_release_type] if args.key?(:album_release_type)
19747
+ @has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
19245
19748
  @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
19246
19749
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
19247
19750
  @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
19248
19751
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
19249
19752
  @scubed_p_sai_music = args[:scubed_p_sai_music] if args.key?(:scubed_p_sai_music)
19753
+ @type = args[:type] if args.key?(:type)
19250
19754
  end
19251
19755
  end
19252
19756
 
19253
- # Features to be extracted from Provider GP for ranking in HGR. Next ID: 2
19757
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 4
19254
19758
  class AssistantGroundingRankerProviderGroundingProviderFeatures
19255
19759
  include Google::Apis::Core::Hashable
19256
19760
 
19761
+ # Cluster IDs for the provider. This field is repeated because some providers
19762
+ # can be associated with multiple clusters. PRR specific feature.
19763
+ # Corresponds to the JSON property `providerClusterId`
19764
+ # @return [Array<String>]
19765
+ attr_accessor :provider_cluster_id
19766
+
19767
+ # Identifier used to represent a single application (a.k.a. provider). This
19768
+ # model represents the surface-agnostic counterpart for assistant.api.core_types.
19769
+ # Provider. E.g. it should avoid directly using package names for Android,
19770
+ # bundle identifiers for iOS, etc. We require the transformation between
19771
+ # assistant.context.ProviderId and assistant.api.core_types.Provider to either
19772
+ # be lossless, or "lossy yet retrievable" (e.g. if package name is not available
19773
+ # in ProviderId, it can still be retrieved using the ProviderMappingsModule).
19774
+ # NOTE: 1. As of May 2021, verticals are highly fragmented in terms of how they
19775
+ # represent/identify a provider, and so we may need to accommodate some vertical-
19776
+ # specific representations. However, these should be generalized as much as
19777
+ # possible so that they can be used by other verticals if needed. 2. If we need
19778
+ # to differentiate between whether a provider is a media provider, app actions
19779
+ # provider, timer provider, etc. we should capture this information in the
19780
+ # context proto that contains a ProviderId field, rather than in the ProviderId
19781
+ # message itself. 3. Any common fields across different provider identifier
19782
+ # representations (e.g. ecosystem type) should be part of assistant.context.
19783
+ # ProviderId directly.
19784
+ # Corresponds to the JSON property `providerId`
19785
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderId]
19786
+ attr_accessor :provider_id
19787
+
19257
19788
  # Provider quality score in the range [0,1] that can be used for ranking
19258
19789
  # providers. Incorporates both policy rules and quality considerations.
19259
19790
  # Corresponds to the JSON property `pslScore`
@@ -19266,6 +19797,8 @@ module Google
19266
19797
 
19267
19798
  # Update properties of this object
19268
19799
  def update!(**args)
19800
+ @provider_cluster_id = args[:provider_cluster_id] if args.key?(:provider_cluster_id)
19801
+ @provider_id = args[:provider_id] if args.key?(:provider_id)
19269
19802
  @psl_score = args[:psl_score] if args.key?(:psl_score)
19270
19803
  end
19271
19804
  end
@@ -20522,6 +21055,11 @@ module Google
20522
21055
  # @return [Fixnum]
20523
21056
  attr_accessor :device_arbitration_creation_timestamp_ms
20524
21057
 
21058
+ # The timestamp that DeviceTargetingInput is built in milliseconds.
21059
+ # Corresponds to the JSON property `deviceTargetingInputCreationTimestampMs`
21060
+ # @return [Fixnum]
21061
+ attr_accessor :device_targeting_input_creation_timestamp_ms
21062
+
20525
21063
  #
20526
21064
  # Corresponds to the JSON property `eliminatedByFurtherDistance`
20527
21065
  # @return [Fixnum]
@@ -20584,6 +21122,7 @@ module Google
20584
21122
  # Update properties of this object
20585
21123
  def update!(**args)
20586
21124
  @device_arbitration_creation_timestamp_ms = args[:device_arbitration_creation_timestamp_ms] if args.key?(:device_arbitration_creation_timestamp_ms)
21125
+ @device_targeting_input_creation_timestamp_ms = args[:device_targeting_input_creation_timestamp_ms] if args.key?(:device_targeting_input_creation_timestamp_ms)
20587
21126
  @eliminated_by_further_distance = args[:eliminated_by_further_distance] if args.key?(:eliminated_by_further_distance)
20588
21127
  @eliminated_by_local_closest = args[:eliminated_by_local_closest] if args.key?(:eliminated_by_local_closest)
20589
21128
  @eliminated_by_unknown_different_room = args[:eliminated_by_unknown_different_room] if args.key?(:eliminated_by_unknown_different_room)
@@ -20879,7 +21418,7 @@ module Google
20879
21418
 
20880
21419
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20881
21420
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20882
- # Next ID: 41
21421
+ # Next ID: 47
20883
21422
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20884
21423
  include Google::Apis::Core::Hashable
20885
21424
 
@@ -20931,11 +21470,18 @@ module Google
20931
21470
  # @return [Float]
20932
21471
  attr_accessor :groundability_score
20933
21472
 
20934
- # Next ID: 4
21473
+ # Next ID: 5
20935
21474
  # Corresponds to the JSON property `groundingProviderFeatures`
20936
21475
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
20937
21476
  attr_accessor :grounding_provider_features
20938
21477
 
21478
+ # Whether the interpretation has a Search answer group object, signifying it
21479
+ # came from Search resolution.
21480
+ # Corresponds to the JSON property `hasAnswerGroup`
21481
+ # @return [Boolean]
21482
+ attr_accessor :has_answer_group
21483
+ alias_method :has_answer_group?, :has_answer_group
21484
+
20939
21485
  # This is a cross-intent feature which is calculated by iterating all intent
20940
21486
  # candidates. This feature should be populated in post-IG stage (before GB).
20941
21487
  # Corresponds to the JSON property `inQueryMaxEffectiveArgSpanLength`
@@ -20972,12 +21518,24 @@ module Google
20972
21518
  attr_accessor :is_fully_grounded
20973
21519
  alias_method :is_fully_grounded?, :is_fully_grounded
20974
21520
 
21521
+ # Whether the intent is a media control intent.
21522
+ # Corresponds to the JSON property `isMediaControlIntent`
21523
+ # @return [Boolean]
21524
+ attr_accessor :is_media_control_intent
21525
+ alias_method :is_media_control_intent?, :is_media_control_intent
21526
+
20975
21527
  # Whether the intent is a PlayGenericMusic-type intent.
20976
21528
  # Corresponds to the JSON property `isPlayGenericMusic`
20977
21529
  # @return [Boolean]
20978
21530
  attr_accessor :is_play_generic_music
20979
21531
  alias_method :is_play_generic_music?, :is_play_generic_music
20980
21532
 
21533
+ # Whether the intent is a podcast intent.
21534
+ # Corresponds to the JSON property `isPodcastIntent`
21535
+ # @return [Boolean]
21536
+ attr_accessor :is_podcast_intent
21537
+ alias_method :is_podcast_intent?, :is_podcast_intent
21538
+
20981
21539
  # The rank order of the interpretation as determined by kscorer. The kscorer-
20982
21540
  # determined dominant interpretation, if any, gets a rank of 0. The remaining N
20983
21541
  # interpretations get a rank of 1 through N.
@@ -21006,6 +21564,11 @@ module Google
21006
21564
  # @return [Float]
21007
21565
  attr_accessor :max_hgr_score_across_binding_sets
21008
21566
 
21567
+ # Rank of the intent as reported by NSP.
21568
+ # Corresponds to the JSON property `nspRank`
21569
+ # @return [Fixnum]
21570
+ attr_accessor :nsp_rank
21571
+
21009
21572
  # Number of alternative hypotheses from speech recognition(S3).
21010
21573
  # Corresponds to the JSON property `numAlternativeHypothesis`
21011
21574
  # @return [Float]
@@ -21046,6 +21609,11 @@ module Google
21046
21609
  # @return [Float]
21047
21610
  attr_accessor :num_variables_grounded
21048
21611
 
21612
+ # A ID corresponding to which bucket a given parsing score belongs in.
21613
+ # Corresponds to the JSON property `parsingScoreMse8BucketId`
21614
+ # @return [Fixnum]
21615
+ attr_accessor :parsing_score_mse8_bucket_id
21616
+
21049
21617
  # Cosine similarity between predicted query-to-term model and assistant intent-
21050
21618
  # type-based salient terms. This is intended to be only used for ACE ranking and
21051
21619
  # only populated for assistant traffic.
@@ -21066,6 +21634,12 @@ module Google
21066
21634
  # @return [Float]
21067
21635
  attr_accessor :predicted_intent_confidence
21068
21636
 
21637
+ # Used in HGR to modify the ranker based on input experimental flag and intent
21638
+ # name.
21639
+ # Corresponds to the JSON property `rankerName`
21640
+ # @return [String]
21641
+ attr_accessor :ranker_name
21642
+
21069
21643
  # The determination made by the SearchDispatchingConfig as to whether and how
21070
21644
  # this interpretation should be dispatched to Search.
21071
21645
  # Corresponds to the JSON property `searchDispatch`
@@ -21100,17 +21674,21 @@ module Google
21100
21674
  @fulfillable_dominant_media = args[:fulfillable_dominant_media] if args.key?(:fulfillable_dominant_media)
21101
21675
  @groundability_score = args[:groundability_score] if args.key?(:groundability_score)
21102
21676
  @grounding_provider_features = args[:grounding_provider_features] if args.key?(:grounding_provider_features)
21677
+ @has_answer_group = args[:has_answer_group] if args.key?(:has_answer_group)
21103
21678
  @in_query_max_effective_arg_span_length = args[:in_query_max_effective_arg_span_length] if args.key?(:in_query_max_effective_arg_span_length)
21104
21679
  @intent_name = args[:intent_name] if args.key?(:intent_name)
21105
21680
  @intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
21106
21681
  @intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
21107
21682
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
21108
21683
  @is_fully_grounded = args[:is_fully_grounded] if args.key?(:is_fully_grounded)
21684
+ @is_media_control_intent = args[:is_media_control_intent] if args.key?(:is_media_control_intent)
21109
21685
  @is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
21686
+ @is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
21110
21687
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
21111
21688
  @laa_features = args[:laa_features] if args.key?(:laa_features)
21112
21689
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
21113
21690
  @max_hgr_score_across_binding_sets = args[:max_hgr_score_across_binding_sets] if args.key?(:max_hgr_score_across_binding_sets)
21691
+ @nsp_rank = args[:nsp_rank] if args.key?(:nsp_rank)
21114
21692
  @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
21115
21693
  @num_constraints = args[:num_constraints] if args.key?(:num_constraints)
21116
21694
  @num_constraints_satisfied = args[:num_constraints_satisfied] if args.key?(:num_constraints_satisfied)
@@ -21118,9 +21696,11 @@ module Google
21118
21696
  @num_grounded_args = args[:num_grounded_args] if args.key?(:num_grounded_args)
21119
21697
  @num_variables = args[:num_variables] if args.key?(:num_variables)
21120
21698
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
21699
+ @parsing_score_mse8_bucket_id = args[:parsing_score_mse8_bucket_id] if args.key?(:parsing_score_mse8_bucket_id)
21121
21700
  @pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
21122
21701
  @pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
21123
21702
  @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
21703
+ @ranker_name = args[:ranker_name] if args.key?(:ranker_name)
21124
21704
  @search_dispatch = args[:search_dispatch] if args.key?(:search_dispatch)
21125
21705
  @top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
21126
21706
  @vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
@@ -32688,10 +33268,16 @@ module Google
32688
33268
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
32689
33269
  attr_accessor :id
32690
33270
 
32691
- # Inferred geometry defines the geometry of a feature through the geometry of
32692
- # other features. For instance, the geometry of a timezone can be specified as
32693
- # the union of all the countries it applies to. See: go/inferred-geometry and go/
32694
- # geo-schema:composite-geometry-editor for more details.
33271
+ # Inferred geometry defines the geometry of a feature as the union or exclusion
33272
+ # of the geometry of other features. For instance, the geometry of a timezone
33273
+ # can be specified as the union of all the countries it applies to. In this
33274
+ # scenario, the timezone will can be considered a "composite feature", while the
33275
+ # countries are its "composing features". A composite feature must have a
33276
+ # bidirectional reference between itself and all its composing features. A
33277
+ # composite feature refers to its composing features via `geometry_composition`,
33278
+ # while the composing features must refer back to the composing feature via `
33279
+ # defines_geometry_for`. See: go/inferred-geometry and go/geo-schema:composite-
33280
+ # geometry-editor for more details.
32695
33281
  # Corresponds to the JSON property `inferredGeometry`
32696
33282
  # @return [Google::Apis::ContentwarehouseV1::GeostoreInferredGeometryProto]
32697
33283
  attr_accessor :inferred_geometry
@@ -32929,9 +33515,9 @@ module Google
32929
33515
  # loops defining multiple disconnected regions possibly with holes. All loops
32930
33516
  # should be oriented CCW around the region they define. This applies to the
32931
33517
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
32932
- # infrastructure) the data fields may be replaced by a single shape_id; see
32933
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
32934
- # work with public functions in //geostore/base/public/polygon.h.
33518
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
33519
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
33520
+ # public functions in //geostore/base/public/polygon.h.
32935
33521
  # Corresponds to the JSON property `polygonForDisplay`
32936
33522
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
32937
33523
  attr_accessor :polygon_for_display
@@ -33161,7 +33747,7 @@ module Google
33161
33747
  # @return [Google::Apis::ContentwarehouseV1::GeostoreExistenceProto]
33162
33748
  attr_accessor :status
33163
33749
 
33164
- # Represents information about the store front geoemtry. Only
33750
+ # Represents information about the store front geometry. Only
33165
33751
  # TYPE_ESTABLISHMENT_POI should have this field set.
33166
33752
  # Corresponds to the JSON property `storefrontGeometry`
33167
33753
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreAnchoredGeometryProto>]
@@ -33254,9 +33840,9 @@ module Google
33254
33840
  # loops defining multiple disconnected regions possibly with holes. All loops
33255
33841
  # should be oriented CCW around the region they define. This applies to the
33256
33842
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
33257
- # infrastructure) the data fields may be replaced by a single shape_id; see
33258
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
33259
- # work with public functions in //geostore/base/public/polygon.h.
33843
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
33844
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
33845
+ # public functions in //geostore/base/public/polygon.h.
33260
33846
  # Corresponds to the JSON property `waterRemovedPolygon`
33261
33847
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
33262
33848
  attr_accessor :water_removed_polygon
@@ -33414,7 +34000,7 @@ module Google
33414
34000
 
33415
34001
  # Proto used to represent rights for a field type. See go/geo-rights for more
33416
34002
  # details. NOTE: Use google3/geostore/provenance/public/rights.h or google3/java/
33417
- # com/google/geostore/provenance/rights/Rights.swig instead of accessing this
34003
+ # com/google/geostore/provenance/rights/Rights.java instead of accessing this
33418
34004
  # proto directly.
33419
34005
  class GeostoreFieldWithRightsProto
33420
34006
  include Google::Apis::Core::Hashable
@@ -33731,9 +34317,9 @@ module Google
33731
34317
  # loops defining multiple disconnected regions possibly with holes. All loops
33732
34318
  # should be oriented CCW around the region they define. This applies to the
33733
34319
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
33734
- # infrastructure) the data fields may be replaced by a single shape_id; see
33735
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
33736
- # work with public functions in //geostore/base/public/polygon.h.
34320
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
34321
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
34322
+ # public functions in //geostore/base/public/polygon.h.
33737
34323
  # Corresponds to the JSON property `restOfWorldPolygon`
33738
34324
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
33739
34325
  attr_accessor :rest_of_world_polygon
@@ -33742,9 +34328,9 @@ module Google
33742
34328
  # loops defining multiple disconnected regions possibly with holes. All loops
33743
34329
  # should be oriented CCW around the region they define. This applies to the
33744
34330
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
33745
- # infrastructure) the data fields may be replaced by a single shape_id; see
33746
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
33747
- # work with public functions in //geostore/base/public/polygon.h.
34331
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
34332
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
34333
+ # public functions in //geostore/base/public/polygon.h.
33748
34334
  # Corresponds to the JSON property `selfPolygon`
33749
34335
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
33750
34336
  attr_accessor :self_polygon
@@ -33833,10 +34419,16 @@ module Google
33833
34419
  end
33834
34420
  end
33835
34421
 
33836
- # Inferred geometry defines the geometry of a feature through the geometry of
33837
- # other features. For instance, the geometry of a timezone can be specified as
33838
- # the union of all the countries it applies to. See: go/inferred-geometry and go/
33839
- # geo-schema:composite-geometry-editor for more details.
34422
+ # Inferred geometry defines the geometry of a feature as the union or exclusion
34423
+ # of the geometry of other features. For instance, the geometry of a timezone
34424
+ # can be specified as the union of all the countries it applies to. In this
34425
+ # scenario, the timezone will can be considered a "composite feature", while the
34426
+ # countries are its "composing features". A composite feature must have a
34427
+ # bidirectional reference between itself and all its composing features. A
34428
+ # composite feature refers to its composing features via `geometry_composition`,
34429
+ # while the composing features must refer back to the composing feature via `
34430
+ # defines_geometry_for`. See: go/inferred-geometry and go/geo-schema:composite-
34431
+ # geometry-editor for more details.
33840
34432
  class GeostoreInferredGeometryProto
33841
34433
  include Google::Apis::Core::Hashable
33842
34434
 
@@ -33883,7 +34475,7 @@ module Google
33883
34475
 
33884
34476
  # Proto used to represent rights for FeatureProto. See go/geo-rights for more
33885
34477
  # details. NOTE: Use google3/geostore/provenance/public/rights.h or google3/java/
33886
- # com/google/geostore/provenance/rights/Rights.swig instead of accessing this
34478
+ # com/google/geostore/provenance/rights/Rights.java instead of accessing this
33887
34479
  # proto directly.
33888
34480
  # Corresponds to the JSON property `rightsStatus`
33889
34481
  # @return [Google::Apis::ContentwarehouseV1::GeostoreRightsStatusProto]
@@ -34637,6 +35229,14 @@ module Google
34637
35229
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
34638
35230
  attr_accessor :segment
34639
35231
 
35232
+ # The inverse of the primary connection bit that provides a hint that this
35233
+ # connection is part of a merge and a vehicle following this connection should
35234
+ # yield to vehicles following other incoming connections.
35235
+ # Corresponds to the JSON property `yieldToOtherConnections`
35236
+ # @return [Boolean]
35237
+ attr_accessor :yield_to_other_connections
35238
+ alias_method :yield_to_other_connections?, :yield_to_other_connections
35239
+
34640
35240
  def initialize(**args)
34641
35241
  update!(**args)
34642
35242
  end
@@ -34650,6 +35250,7 @@ module Google
34650
35250
  @lane_number = args[:lane_number] if args.key?(:lane_number)
34651
35251
  @primary_connection = args[:primary_connection] if args.key?(:primary_connection)
34652
35252
  @segment = args[:segment] if args.key?(:segment)
35253
+ @yield_to_other_connections = args[:yield_to_other_connections] if args.key?(:yield_to_other_connections)
34653
35254
  end
34654
35255
  end
34655
35256
 
@@ -35753,9 +36354,9 @@ module Google
35753
36354
  # loops defining multiple disconnected regions possibly with holes. All loops
35754
36355
  # should be oriented CCW around the region they define. This applies to the
35755
36356
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
35756
- # infrastructure) the data fields may be replaced by a single shape_id; see
35757
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
35758
- # work with public functions in //geostore/base/public/polygon.h.
36357
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
36358
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
36359
+ # public functions in //geostore/base/public/polygon.h.
35759
36360
  class GeostorePolygonProto
35760
36361
  include Google::Apis::Core::Hashable
35761
36362
 
@@ -35813,17 +36414,6 @@ module Google
35813
36414
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFieldMetadataProto]
35814
36415
  attr_accessor :metadata
35815
36416
 
35816
- # A unique identifier for this polygon's data which is being held externally in
35817
- # Shapestore (see go/shapestore). This is only ever set internally within
35818
- # MapFacts or underlying infrastructure and if set is set in lieu of other
35819
- # fields. Clients of MapFacts (or anyone downstream of them) can rely on the
35820
- # guarantee that this field will never be set and that the actual data for the
35821
- # polygon will be present instead. This field has been deprecated in favor of
35822
- # FeatureProto.internal.polygon_shape_id
35823
- # Corresponds to the JSON property `shapeId`
35824
- # @return [String]
35825
- attr_accessor :shape_id
35826
-
35827
36417
  # This is proto2's version of MessageSet.
35828
36418
  # Corresponds to the JSON property `temporaryData`
35829
36419
  # @return [Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet]
@@ -35855,7 +36445,6 @@ module Google
35855
36445
  @height_meters = args[:height_meters] if args.key?(:height_meters)
35856
36446
  @loop = args[:loop] if args.key?(:loop)
35857
36447
  @metadata = args[:metadata] if args.key?(:metadata)
35858
- @shape_id = args[:shape_id] if args.key?(:shape_id)
35859
36448
  @temporary_data = args[:temporary_data] if args.key?(:temporary_data)
35860
36449
  @unsuitable_for_display = args[:unsuitable_for_display] if args.key?(:unsuitable_for_display)
35861
36450
  end
@@ -36976,7 +37565,7 @@ module Google
36976
37565
 
36977
37566
  # Proto used to represent rights for FeatureProto. See go/geo-rights for more
36978
37567
  # details. NOTE: Use google3/geostore/provenance/public/rights.h or google3/java/
36979
- # com/google/geostore/provenance/rights/Rights.swig instead of accessing this
37568
+ # com/google/geostore/provenance/rights/Rights.java instead of accessing this
36980
37569
  # proto directly.
36981
37570
  class GeostoreRightsStatusProto
36982
37571
  include Google::Apis::Core::Hashable
@@ -37712,9 +38301,13 @@ module Google
37712
38301
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
37713
38302
  attr_accessor :sibling
37714
38303
 
38304
+ # RESERVED
38305
+ # Corresponds to the JSON property `slope`
38306
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreSlopeProto>]
38307
+ attr_accessor :slope
38308
+
37715
38309
  # clang-format on LINT.ThenChange(//depot/google3/geostore/base/proto/lane.proto)
37716
- # If this option is missing it means that the surface is unknown. Specific
37717
- # lanes may override this segment-level surface type.
38310
+ # Specific lanes may override this segment-level surface type.
37718
38311
  # Corresponds to the JSON property `surface`
37719
38312
  # @return [String]
37720
38313
  attr_accessor :surface
@@ -37807,6 +38400,7 @@ module Google
37807
38400
  @route_association = args[:route_association] if args.key?(:route_association)
37808
38401
  @separated_roadways = args[:separated_roadways] if args.key?(:separated_roadways)
37809
38402
  @sibling = args[:sibling] if args.key?(:sibling)
38403
+ @slope = args[:slope] if args.key?(:slope)
37810
38404
  @surface = args[:surface] if args.key?(:surface)
37811
38405
  @surface_metadata = args[:surface_metadata] if args.key?(:surface_metadata)
37812
38406
  @sweep = args[:sweep] if args.key?(:sweep)
@@ -37954,6 +38548,34 @@ module Google
37954
38548
  end
37955
38549
  end
37956
38550
 
38551
+ #
38552
+ class GeostoreSlopeProto
38553
+ include Google::Apis::Core::Hashable
38554
+
38555
+ # Slope value as elevation change divided by horizontal distance, in the format
38556
+ # of decimal, e.g., ‘0.1234’ means a 12.34% slope. If a slope_value is unset, it
38557
+ # indicates we don’t have enough information to compute slope at this location.
38558
+ # Corresponds to the JSON property `slopeValue`
38559
+ # @return [Float]
38560
+ attr_accessor :slope_value
38561
+
38562
+ # Indicates how far along the segment this slope value starts to apply, in the
38563
+ # format of decimal between 0 and 1.
38564
+ # Corresponds to the JSON property `startPointFraction`
38565
+ # @return [Float]
38566
+ attr_accessor :start_point_fraction
38567
+
38568
+ def initialize(**args)
38569
+ update!(**args)
38570
+ end
38571
+
38572
+ # Update properties of this object
38573
+ def update!(**args)
38574
+ @slope_value = args[:slope_value] if args.key?(:slope_value)
38575
+ @start_point_fraction = args[:start_point_fraction] if args.key?(:start_point_fraction)
38576
+ end
38577
+ end
38578
+
37957
38579
  # MapFacts GAIA ID assigned to this feature. These values are virtual GAIA IDs
37958
38580
  # from MapFacts, and as such are not stored in Focus.
37959
38581
  class GeostoreSocialReferenceProto
@@ -38190,6 +38812,11 @@ module Google
38190
38812
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreRoadConditionalProto>]
38191
38813
  attr_accessor :condition
38192
38814
 
38815
+ # The source of the speed limit.
38816
+ # Corresponds to the JSON property `sourceType`
38817
+ # @return [String]
38818
+ attr_accessor :source_type
38819
+
38193
38820
  # A speed value and unit.
38194
38821
  # Corresponds to the JSON property `speedWithUnit`
38195
38822
  # @return [Google::Apis::ContentwarehouseV1::GeostoreSpeedProto]
@@ -38215,6 +38842,7 @@ module Google
38215
38842
  def update!(**args)
38216
38843
  @category = args[:category] if args.key?(:category)
38217
38844
  @condition = args[:condition] if args.key?(:condition)
38845
+ @source_type = args[:source_type] if args.key?(:source_type)
38218
38846
  @speed_with_unit = args[:speed_with_unit] if args.key?(:speed_with_unit)
38219
38847
  @unlimited_speed = args[:unlimited_speed] if args.key?(:unlimited_speed)
38220
38848
  @variable_speed = args[:variable_speed] if args.key?(:variable_speed)
@@ -38225,12 +38853,12 @@ module Google
38225
38853
  class GeostoreSpeedProto
38226
38854
  include Google::Apis::Core::Hashable
38227
38855
 
38228
- #
38856
+ # All speed values are stored in kilometers per hour.
38229
38857
  # Corresponds to the JSON property `speed`
38230
38858
  # @return [Float]
38231
38859
  attr_accessor :speed
38232
38860
 
38233
- #
38861
+ # Mapfacts only allows unit to be KILOMETERS_PER_HOUR.
38234
38862
  # Corresponds to the JSON property `unit`
38235
38863
  # @return [String]
38236
38864
  attr_accessor :unit
@@ -38343,9 +38971,9 @@ module Google
38343
38971
  # loops defining multiple disconnected regions possibly with holes. All loops
38344
38972
  # should be oriented CCW around the region they define. This applies to the
38345
38973
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
38346
- # infrastructure) the data fields may be replaced by a single shape_id; see
38347
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
38348
- # work with public functions in //geostore/base/public/polygon.h.
38974
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
38975
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
38976
+ # public functions in //geostore/base/public/polygon.h.
38349
38977
  # Corresponds to the JSON property `polygon`
38350
38978
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
38351
38979
  attr_accessor :polygon
@@ -41899,11 +42527,6 @@ module Google
41899
42527
  class GoogleAssistantAccessoryV1DeviceConfig
41900
42528
  include Google::Apis::Core::Hashable
41901
42529
 
41902
- # Contains fields to identify the device which sent the request.
41903
- # Corresponds to the JSON property `deviceBuild`
41904
- # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantEmbeddedV1DeviceBuild]
41905
- attr_accessor :device_build
41906
-
41907
42530
  # Device model capabilities override from client.
41908
42531
  # Corresponds to the JSON property `deviceModelCapabilitiesOverride`
41909
42532
  # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantEmbeddedV1DeviceModelCapabilitiesOverride]
@@ -41915,15 +42538,20 @@ module Google
41915
42538
  # @return [String]
41916
42539
  attr_accessor :heterodyne_token
41917
42540
 
42541
+ # Contains fields to identify the device which sent the request.
42542
+ # Corresponds to the JSON property `surfaceIdentity`
42543
+ # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantEmbeddedV1SurfaceIdentity]
42544
+ attr_accessor :surface_identity
42545
+
41918
42546
  def initialize(**args)
41919
42547
  update!(**args)
41920
42548
  end
41921
42549
 
41922
42550
  # Update properties of this object
41923
42551
  def update!(**args)
41924
- @device_build = args[:device_build] if args.key?(:device_build)
41925
42552
  @device_model_capabilities_override = args[:device_model_capabilities_override] if args.key?(:device_model_capabilities_override)
41926
42553
  @heterodyne_token = args[:heterodyne_token] if args.key?(:heterodyne_token)
42554
+ @surface_identity = args[:surface_identity] if args.key?(:surface_identity)
41927
42555
  end
41928
42556
  end
41929
42557
 
@@ -42273,25 +42901,6 @@ module Google
42273
42901
  end
42274
42902
  end
42275
42903
 
42276
- # Contains fields to identify the device which sent the request.
42277
- class GoogleAssistantEmbeddedV1DeviceBuild
42278
- include Google::Apis::Core::Hashable
42279
-
42280
- # * Fully formed user agent suffix string.
42281
- # Corresponds to the JSON property `userAgentSuffix`
42282
- # @return [String]
42283
- attr_accessor :user_agent_suffix
42284
-
42285
- def initialize(**args)
42286
- update!(**args)
42287
- end
42288
-
42289
- # Update properties of this object
42290
- def update!(**args)
42291
- @user_agent_suffix = args[:user_agent_suffix] if args.key?(:user_agent_suffix)
42292
- end
42293
- end
42294
-
42295
42904
  # Device model capabilities override from client.
42296
42905
  class GoogleAssistantEmbeddedV1DeviceModelCapabilitiesOverride
42297
42906
  include Google::Apis::Core::Hashable
@@ -42392,6 +43001,31 @@ module Google
42392
43001
  end
42393
43002
  end
42394
43003
 
43004
+ # Contains fields to identify the device which sent the request.
43005
+ class GoogleAssistantEmbeddedV1SurfaceIdentity
43006
+ include Google::Apis::Core::Hashable
43007
+
43008
+ # Surface type that the device identifies as.
43009
+ # Corresponds to the JSON property `surfaceType`
43010
+ # @return [String]
43011
+ attr_accessor :surface_type
43012
+
43013
+ # * Fully formed user agent suffix string.
43014
+ # Corresponds to the JSON property `userAgentSuffix`
43015
+ # @return [String]
43016
+ attr_accessor :user_agent_suffix
43017
+
43018
+ def initialize(**args)
43019
+ update!(**args)
43020
+ end
43021
+
43022
+ # Update properties of this object
43023
+ def update!(**args)
43024
+ @surface_type = args[:surface_type] if args.key?(:surface_type)
43025
+ @user_agent_suffix = args[:user_agent_suffix] if args.key?(:user_agent_suffix)
43026
+ end
43027
+ end
43028
+
42395
43029
  # Conceptually, timers are clocks that count down from an initial duration and
42396
43030
  # ring when they reach 0. In practice, as a timer is running, it holds a stable
42397
43031
  # expiration time and computes the remaining duration using the current time.
@@ -43508,49 +44142,6 @@ module Google
43508
44142
  end
43509
44143
  end
43510
44144
 
43511
- # The configuration of exporting documents from the Document Warehouse to CDW
43512
- # pipeline.
43513
- class GoogleCloudContentwarehouseV1ExportToCdwPipeline
43514
- include Google::Apis::Core::Hashable
43515
-
43516
- # The CDW dataset resource name. Format: projects/`project`/locations/`location`/
43517
- # processors/`processor`/dataset
43518
- # Corresponds to the JSON property `docAiDataset`
43519
- # @return [String]
43520
- attr_accessor :doc_ai_dataset
43521
-
43522
- # The list of all the resource names of the documents to be processed. Format:
43523
- # projects/`project_number`/locations/`location`/documents/`document_id`.
43524
- # Corresponds to the JSON property `documents`
43525
- # @return [Array<String>]
43526
- attr_accessor :documents
43527
-
43528
- # The Cloud Storage folder path used to store the exported documents before
43529
- # being sent to CDW. Format: gs:///.
43530
- # Corresponds to the JSON property `exportFolderPath`
43531
- # @return [String]
43532
- attr_accessor :export_folder_path
43533
-
43534
- # Ratio of training dataset split. When importing into Document AI Workbench,
43535
- # documents will be automatically split into training and test split category
43536
- # with the specified ratio.
43537
- # Corresponds to the JSON property `trainingSplitRatio`
43538
- # @return [Float]
43539
- attr_accessor :training_split_ratio
43540
-
43541
- def initialize(**args)
43542
- update!(**args)
43543
- end
43544
-
43545
- # Update properties of this object
43546
- def update!(**args)
43547
- @doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
43548
- @documents = args[:documents] if args.key?(:documents)
43549
- @export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
43550
- @training_split_ratio = args[:training_split_ratio] if args.key?(:training_split_ratio)
43551
- end
43552
- end
43553
-
43554
44145
  # Request message for DocumentService.FetchAcl
43555
44146
  class GoogleCloudContentwarehouseV1FetchAclRequest
43556
44147
  include Google::Apis::Core::Hashable
@@ -43680,83 +44271,6 @@ module Google
43680
44271
  end
43681
44272
  end
43682
44273
 
43683
- # The configuration of the Cloud Storage ingestion pipeline.
43684
- class GoogleCloudContentwarehouseV1GcsIngestPipeline
43685
- include Google::Apis::Core::Hashable
43686
-
43687
- # The input Cloud Storage folder. All files under this folder will be imported
43688
- # to Document Warehouse. Format: gs:///.
43689
- # Corresponds to the JSON property `inputPath`
43690
- # @return [String]
43691
- attr_accessor :input_path
43692
-
43693
- # The Cloud Storage folder path used to store the raw results from processors.
43694
- # Format: gs:///.
43695
- # Corresponds to the JSON property `processorResultsFolderPath`
43696
- # @return [String]
43697
- attr_accessor :processor_results_folder_path
43698
-
43699
- # The Document Warehouse schema resource name. All documents processed by this
43700
- # pipeline will use this schema. Format: projects/`project_number`/locations/`
43701
- # location`/documentSchemas/`document_schema_id`.
43702
- # Corresponds to the JSON property `schemaName`
43703
- # @return [String]
43704
- attr_accessor :schema_name
43705
-
43706
- def initialize(**args)
43707
- update!(**args)
43708
- end
43709
-
43710
- # Update properties of this object
43711
- def update!(**args)
43712
- @input_path = args[:input_path] if args.key?(:input_path)
43713
- @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
43714
- @schema_name = args[:schema_name] if args.key?(:schema_name)
43715
- end
43716
- end
43717
-
43718
- # The configuration of the document classify/split and entity/kvp extraction
43719
- # pipeline.
43720
- class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
43721
- include Google::Apis::Core::Hashable
43722
-
43723
- # The extract processors information. One matched extract processor will be used
43724
- # to process documents based on the classify processor result. If no classify
43725
- # processor is specificied, the first extract processor will be used.
43726
- # Corresponds to the JSON property `extractProcessorInfos`
43727
- # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo>]
43728
- attr_accessor :extract_processor_infos
43729
-
43730
- # The input Cloud Storage folder. All files under this folder will be imported
43731
- # to Document Warehouse. Format: gs:///.
43732
- # Corresponds to the JSON property `inputPath`
43733
- # @return [String]
43734
- attr_accessor :input_path
43735
-
43736
- # The Cloud Storage folder path used to store the raw results from processors.
43737
- # Format: gs:///.
43738
- # Corresponds to the JSON property `processorResultsFolderPath`
43739
- # @return [String]
43740
- attr_accessor :processor_results_folder_path
43741
-
43742
- # The DocAI processor information.
43743
- # Corresponds to the JSON property `splitClassifyProcessorInfo`
43744
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
43745
- attr_accessor :split_classify_processor_info
43746
-
43747
- def initialize(**args)
43748
- update!(**args)
43749
- end
43750
-
43751
- # Update properties of this object
43752
- def update!(**args)
43753
- @extract_processor_infos = args[:extract_processor_infos] if args.key?(:extract_processor_infos)
43754
- @input_path = args[:input_path] if args.key?(:input_path)
43755
- @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
43756
- @split_classify_processor_info = args[:split_classify_processor_info] if args.key?(:split_classify_processor_info)
43757
- end
43758
- end
43759
-
43760
44274
  # Request message for DocumentService.GetDocument.
43761
44275
  class GoogleCloudContentwarehouseV1GetDocumentRequest
43762
44276
  include Google::Apis::Core::Hashable
@@ -44188,6 +44702,31 @@ module Google
44188
44702
  end
44189
44703
  end
44190
44704
 
44705
+ # Request message for DocumentService.LockDocument.
44706
+ class GoogleCloudContentwarehouseV1LockDocumentRequest
44707
+ include Google::Apis::Core::Hashable
44708
+
44709
+ # The collection the document connects to.
44710
+ # Corresponds to the JSON property `collectionId`
44711
+ # @return [String]
44712
+ attr_accessor :collection_id
44713
+
44714
+ # The user information.
44715
+ # Corresponds to the JSON property `lockingUser`
44716
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo]
44717
+ attr_accessor :locking_user
44718
+
44719
+ def initialize(**args)
44720
+ update!(**args)
44721
+ end
44722
+
44723
+ # Update properties of this object
44724
+ def update!(**args)
44725
+ @collection_id = args[:collection_id] if args.key?(:collection_id)
44726
+ @locking_user = args[:locking_user] if args.key?(:locking_user)
44727
+ end
44728
+ end
44729
+
44191
44730
  # Map property value. Represents a structured entries of key value pairs,
44192
44731
  # consisting of field names which map to dynamically typed values.
44193
44732
  class GoogleCloudContentwarehouseV1MapProperty
@@ -44257,82 +44796,6 @@ module Google
44257
44796
  end
44258
44797
  end
44259
44798
 
44260
- # The configuration of processing documents in Document Warehouse with DocAi
44261
- # processors pipeline.
44262
- class GoogleCloudContentwarehouseV1ProcessWithDocAi
44263
- include Google::Apis::Core::Hashable
44264
-
44265
- # The list of all the resource names of the documents to be processed. Format:
44266
- # projects/`project_number`/locations/`location`/documents/`document_id`.
44267
- # Corresponds to the JSON property `documents`
44268
- # @return [Array<String>]
44269
- attr_accessor :documents
44270
-
44271
- # The Cloud Storage folder path used to store the exported documents before
44272
- # being sent to CDW. Format: gs:///.
44273
- # Corresponds to the JSON property `exportFolderPath`
44274
- # @return [String]
44275
- attr_accessor :export_folder_path
44276
-
44277
- # The DocAI processor information.
44278
- # Corresponds to the JSON property `processorInfo`
44279
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
44280
- attr_accessor :processor_info
44281
-
44282
- # The Cloud Storage folder path used to store the raw results from processors.
44283
- # Format: gs:///.
44284
- # Corresponds to the JSON property `processorResultsFolderPath`
44285
- # @return [String]
44286
- attr_accessor :processor_results_folder_path
44287
-
44288
- def initialize(**args)
44289
- update!(**args)
44290
- end
44291
-
44292
- # Update properties of this object
44293
- def update!(**args)
44294
- @documents = args[:documents] if args.key?(:documents)
44295
- @export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
44296
- @processor_info = args[:processor_info] if args.key?(:processor_info)
44297
- @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
44298
- end
44299
- end
44300
-
44301
- # The DocAI processor information.
44302
- class GoogleCloudContentwarehouseV1ProcessorInfo
44303
- include Google::Apis::Core::Hashable
44304
-
44305
- # The processor will process the documents with this document type.
44306
- # Corresponds to the JSON property `documentType`
44307
- # @return [String]
44308
- attr_accessor :document_type
44309
-
44310
- # The processor resource name. Format is `projects/`project`/locations/`location`
44311
- # /processors/`processor``, or `projects/`project`/locations/`location`/
44312
- # processors/`processor`/processorVersions/`processorVersion``
44313
- # Corresponds to the JSON property `processorName`
44314
- # @return [String]
44315
- attr_accessor :processor_name
44316
-
44317
- # The Document schema resource name. All documents processed by this processor
44318
- # will use this schema. Format: projects/`project_number`/locations/`location`/
44319
- # documentSchemas/`document_schema_id`.
44320
- # Corresponds to the JSON property `schemaName`
44321
- # @return [String]
44322
- attr_accessor :schema_name
44323
-
44324
- def initialize(**args)
44325
- update!(**args)
44326
- end
44327
-
44328
- # Update properties of this object
44329
- def update!(**args)
44330
- @document_type = args[:document_type] if args.key?(:document_type)
44331
- @processor_name = args[:processor_name] if args.key?(:processor_name)
44332
- @schema_name = args[:schema_name] if args.key?(:schema_name)
44333
- end
44334
- end
44335
-
44336
44799
  # Property of a document.
44337
44800
  class GoogleCloudContentwarehouseV1Property
44338
44801
  include Google::Apis::Core::Hashable
@@ -44954,32 +45417,29 @@ module Google
44954
45417
  end
44955
45418
  end
44956
45419
 
44957
- # Request message for DocumentService.RunPipeline.
44958
- class GoogleCloudContentwarehouseV1RunPipelineRequest
45420
+ # Metadata message of RunPipeline method.
45421
+ class GoogleCloudContentwarehouseV1RunPipelineMetadata
44959
45422
  include Google::Apis::Core::Hashable
44960
45423
 
44961
- # The configuration of exporting documents from the Document Warehouse to CDW
44962
- # pipeline.
44963
- # Corresponds to the JSON property `exportCdwPipeline`
44964
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline]
44965
- attr_accessor :export_cdw_pipeline
45424
+ # Number of files that have failed at some point in the pipeline.
45425
+ # Corresponds to the JSON property `failedFileCount`
45426
+ # @return [Fixnum]
45427
+ attr_accessor :failed_file_count
44966
45428
 
44967
- # The configuration of the Cloud Storage ingestion pipeline.
44968
- # Corresponds to the JSON property `gcsIngestPipeline`
44969
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline]
44970
- attr_accessor :gcs_ingest_pipeline
45429
+ # The metadata message for GcsIngest pipeline.
45430
+ # Corresponds to the JSON property `gcsIngestPipelineMetadata`
45431
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata]
45432
+ attr_accessor :gcs_ingest_pipeline_metadata
44971
45433
 
44972
- # The configuration of the document classify/split and entity/kvp extraction
44973
- # pipeline.
44974
- # Corresponds to the JSON property `gcsIngestWithDocAiProcessorsPipeline`
44975
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline]
44976
- attr_accessor :gcs_ingest_with_doc_ai_processors_pipeline
45434
+ # Number of files that were processed by the pipeline.
45435
+ # Corresponds to the JSON property `totalFileCount`
45436
+ # @return [Fixnum]
45437
+ attr_accessor :total_file_count
44977
45438
 
44978
- # The configuration of processing documents in Document Warehouse with DocAi
44979
- # processors pipeline.
44980
- # Corresponds to the JSON property `processWithDocAiPipeline`
44981
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAi]
44982
- attr_accessor :process_with_doc_ai_pipeline
45439
+ # The user information.
45440
+ # Corresponds to the JSON property `userInfo`
45441
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo]
45442
+ attr_accessor :user_info
44983
45443
 
44984
45444
  def initialize(**args)
44985
45445
  update!(**args)
@@ -44987,10 +45447,29 @@ module Google
44987
45447
 
44988
45448
  # Update properties of this object
44989
45449
  def update!(**args)
44990
- @export_cdw_pipeline = args[:export_cdw_pipeline] if args.key?(:export_cdw_pipeline)
44991
- @gcs_ingest_pipeline = args[:gcs_ingest_pipeline] if args.key?(:gcs_ingest_pipeline)
44992
- @gcs_ingest_with_doc_ai_processors_pipeline = args[:gcs_ingest_with_doc_ai_processors_pipeline] if args.key?(:gcs_ingest_with_doc_ai_processors_pipeline)
44993
- @process_with_doc_ai_pipeline = args[:process_with_doc_ai_pipeline] if args.key?(:process_with_doc_ai_pipeline)
45450
+ @failed_file_count = args[:failed_file_count] if args.key?(:failed_file_count)
45451
+ @gcs_ingest_pipeline_metadata = args[:gcs_ingest_pipeline_metadata] if args.key?(:gcs_ingest_pipeline_metadata)
45452
+ @total_file_count = args[:total_file_count] if args.key?(:total_file_count)
45453
+ @user_info = args[:user_info] if args.key?(:user_info)
45454
+ end
45455
+ end
45456
+
45457
+ # The metadata message for GcsIngest pipeline.
45458
+ class GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata
45459
+ include Google::Apis::Core::Hashable
45460
+
45461
+ # The input Cloud Storage folder in this pipeline. Format: `gs:///`.
45462
+ # Corresponds to the JSON property `inputPath`
45463
+ # @return [String]
45464
+ attr_accessor :input_path
45465
+
45466
+ def initialize(**args)
45467
+ update!(**args)
45468
+ end
45469
+
45470
+ # Update properties of this object
45471
+ def update!(**args)
45472
+ @input_path = args[:input_path] if args.key?(:input_path)
44994
45473
  end
44995
45474
  end
44996
45475
 
@@ -47815,12 +48294,6 @@ module Google
47815
48294
  # @return [String]
47816
48295
  attr_accessor :committed_until
47817
48296
 
47818
- # TODO(b/265939748) To be removed, always false.
47819
- # Corresponds to the JSON property `committedUntilIsMixed`
47820
- # @return [Boolean]
47821
- attr_accessor :committed_until_is_mixed
47822
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
47823
-
47824
48297
  # The summary of the corresponding event in Calendar.
47825
48298
  # Corresponds to the JSON property `eventSummary`
47826
48299
  # @return [String]
@@ -47846,7 +48319,6 @@ module Google
47846
48319
  # Update properties of this object
47847
48320
  def update!(**args)
47848
48321
  @committed_until = args[:committed_until] if args.key?(:committed_until)
47849
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
47850
48322
  @event_summary = args[:event_summary] if args.key?(:event_summary)
47851
48323
  @next_available = args[:next_available] if args.key?(:next_available)
47852
48324
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
@@ -47899,12 +48371,6 @@ module Google
47899
48371
  # @return [String]
47900
48372
  attr_accessor :committed_until
47901
48373
 
47902
- # TODO(b/265939748) To be removed, always false.
47903
- # Corresponds to the JSON property `committedUntilIsMixed`
47904
- # @return [Boolean]
47905
- attr_accessor :committed_until_is_mixed
47906
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
47907
-
47908
48374
  # The next time when the user will be available, i.e., when their status will be
47909
48375
  # neither InMeeting, CalendarBusy, DoNotDisturb, OutsideWorkingHours, nor
47910
48376
  # OutOfOffice.
@@ -47925,7 +48391,6 @@ module Google
47925
48391
  # Update properties of this object
47926
48392
  def update!(**args)
47927
48393
  @committed_until = args[:committed_until] if args.key?(:committed_until)
47928
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
47929
48394
  @next_available = args[:next_available] if args.key?(:next_available)
47930
48395
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
47931
48396
  end
@@ -47956,12 +48421,6 @@ module Google
47956
48421
  # @return [String]
47957
48422
  attr_accessor :committed_until
47958
48423
 
47959
- # TODO(b/265939748) To be removed, always false.
47960
- # Corresponds to the JSON property `committedUntilIsMixed`
47961
- # @return [Boolean]
47962
- attr_accessor :committed_until_is_mixed
47963
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
47964
-
47965
48424
  # The summary of the corresponding event in Calendar.
47966
48425
  # Corresponds to the JSON property `eventSummary`
47967
48426
  # @return [String]
@@ -47992,7 +48451,6 @@ module Google
47992
48451
  # Update properties of this object
47993
48452
  def update!(**args)
47994
48453
  @committed_until = args[:committed_until] if args.key?(:committed_until)
47995
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
47996
48454
  @event_summary = args[:event_summary] if args.key?(:event_summary)
47997
48455
  @in_meetings_until = args[:in_meetings_until] if args.key?(:in_meetings_until)
47998
48456
  @next_available = args[:next_available] if args.key?(:next_available)
@@ -48057,6 +48515,11 @@ module Google
48057
48515
  # @return [String]
48058
48516
  attr_accessor :experimental_floor_id
48059
48517
 
48518
+ # The display label of this office location. For example a building name.
48519
+ # Corresponds to the JSON property `label`
48520
+ # @return [String]
48521
+ attr_accessor :label
48522
+
48060
48523
  def initialize(**args)
48061
48524
  update!(**args)
48062
48525
  end
@@ -48066,6 +48529,7 @@ module Google
48066
48529
  @experimental_building_id = args[:experimental_building_id] if args.key?(:experimental_building_id)
48067
48530
  @experimental_desk_id = args[:experimental_desk_id] if args.key?(:experimental_desk_id)
48068
48531
  @experimental_floor_id = args[:experimental_floor_id] if args.key?(:experimental_floor_id)
48532
+ @label = args[:label] if args.key?(:label)
48069
48533
  end
48070
48534
  end
48071
48535
 
@@ -48089,12 +48553,6 @@ module Google
48089
48553
  # @return [String]
48090
48554
  attr_accessor :committed_until
48091
48555
 
48092
- # TODO(b/265939748) To be removed, always false.
48093
- # Corresponds to the JSON property `committedUntilIsMixed`
48094
- # @return [Boolean]
48095
- attr_accessor :committed_until_is_mixed
48096
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
48097
-
48098
48556
  # The summary of the corresponding OOO block in Calendar. This is entered by the
48099
48557
  # user, so we return it "as is" - no i18n.
48100
48558
  # Corresponds to the JSON property `eventSummary`
@@ -48109,7 +48567,6 @@ module Google
48109
48567
  def update!(**args)
48110
48568
  @come_back_time = args[:come_back_time] if args.key?(:come_back_time)
48111
48569
  @committed_until = args[:committed_until] if args.key?(:committed_until)
48112
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
48113
48570
  @event_summary = args[:event_summary] if args.key?(:event_summary)
48114
48571
  end
48115
48572
  end
@@ -51712,6 +52169,18 @@ module Google
51712
52169
  # @return [String]
51713
52170
  attr_accessor :type
51714
52171
 
52172
+ # The end timestamp of the video segment in microseconds that this preview is
52173
+ # generated from. Used for segmented video previews.
52174
+ # Corresponds to the JSON property `videoSegmentEndUs`
52175
+ # @return [Fixnum]
52176
+ attr_accessor :video_segment_end_us
52177
+
52178
+ # The start timestamp of the video segment in microseconds that this preview is
52179
+ # generated from. Used for segmented video previews.
52180
+ # Corresponds to the JSON property `videoSegmentStartUs`
52181
+ # @return [Fixnum]
52182
+ attr_accessor :video_segment_start_us
52183
+
51715
52184
  # Width of the stored preview.
51716
52185
  # Corresponds to the JSON property `width`
51717
52186
  # @return [Fixnum]
@@ -51733,6 +52202,8 @@ module Google
51733
52202
  @state = args[:state] if args.key?(:state)
51734
52203
  @timestamp = args[:timestamp] if args.key?(:timestamp)
51735
52204
  @type = args[:type] if args.key?(:type)
52205
+ @video_segment_end_us = args[:video_segment_end_us] if args.key?(:video_segment_end_us)
52206
+ @video_segment_start_us = args[:video_segment_start_us] if args.key?(:video_segment_start_us)
51736
52207
  @width = args[:width] if args.key?(:width)
51737
52208
  end
51738
52209
  end
@@ -52275,13 +52746,11 @@ module Google
52275
52746
  # @return [Google::Apis::ContentwarehouseV1::FaceIndexing]
52276
52747
  attr_accessor :packed_full_face_info
52277
52748
 
52278
- # This message holds person attributes from the LookNet-Person model (go/looknet-
52279
- # person) and the Style AI Iconic Person Scorer (http://go/styleai-indexing-
52280
- # g3doc#iconic-person-scorer) for the most iconic person in a style image. There
52281
- # is an ongoing collaboration with the Human Sensing team on LookNet-Person v3 (
52282
- # go/looknet-person-v3-collaboration) that deals with some of these signals
52283
- # together. Hence, the combined proto definition. Discretization of float values
52284
- # is recommended by CDS for cheaper and more efficient storage. Next ID: 11
52749
+ # This message holds person attributes from the Person Interpreter model (go/
52750
+ # person-interpreter) and the Style AI Iconic Person Scorer (go/styleai-indexing-
52751
+ # g3doc#iconic-person-scorer) for the most iconic person in a style image.
52752
+ # Discretization of float values is recommended by CDS for cheaper and more
52753
+ # efficient storage. Next ID: 11
52285
52754
  # Corresponds to the JSON property `personAttributes`
52286
52755
  # @return [Google::Apis::ContentwarehouseV1::LensDiscoveryStylePersonAttributes]
52287
52756
  attr_accessor :person_attributes
@@ -57254,8 +57723,12 @@ module Google
57254
57723
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57255
57724
  attr_accessor :chrome_counts
57256
57725
 
57257
- # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
57258
- # sdl)
57726
+ # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/web-version.proto)
57727
+ # Corresponds to the JSON property `creator`
57728
+ # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57729
+ attr_accessor :creator
57730
+
57731
+ #
57259
57732
  # Corresponds to the JSON property `instantNavboost`
57260
57733
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57261
57734
  attr_accessor :instant_navboost
@@ -57265,31 +57738,16 @@ module Google
57265
57738
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57266
57739
  attr_accessor :localyp
57267
57740
 
57268
- #
57269
- # Corresponds to the JSON property `localypVersion`
57270
- # @return [String]
57271
- attr_accessor :localyp_version
57272
-
57273
57741
  #
57274
57742
  # Corresponds to the JSON property `modernFormatContent`
57275
57743
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57276
57744
  attr_accessor :modern_format_content
57277
57745
 
57278
- #
57279
- # Corresponds to the JSON property `modernFormatContentVersion`
57280
- # @return [String]
57281
- attr_accessor :modern_format_content_version
57282
-
57283
57746
  # LINT.IfChange
57284
57747
  # Corresponds to the JSON property `navboost`
57285
57748
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57286
57749
  attr_accessor :navboost
57287
57750
 
57288
- # DEPRECATED
57289
- # Corresponds to the JSON property `navboostVersion`
57290
- # @return [String]
57291
- attr_accessor :navboost_version
57292
-
57293
57751
  #
57294
57752
  # Corresponds to the JSON property `rankembed`
57295
57753
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
@@ -57305,21 +57763,11 @@ module Google
57305
57763
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57306
57764
  attr_accessor :video_scoring_signal
57307
57765
 
57308
- #
57309
- # Corresponds to the JSON property `videoScoringSignalVersion`
57310
- # @return [String]
57311
- attr_accessor :video_scoring_signal_version
57312
-
57313
57766
  #
57314
57767
  # Corresponds to the JSON property `volt`
57315
57768
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57316
57769
  attr_accessor :volt
57317
57770
 
57318
- #
57319
- # Corresponds to the JSON property `voltVersion`
57320
- # @return [String]
57321
- attr_accessor :volt_version
57322
-
57323
57771
  def initialize(**args)
57324
57772
  update!(**args)
57325
57773
  end
@@ -57328,19 +57776,15 @@ module Google
57328
57776
  def update!(**args)
57329
57777
  @accelerated_shopping_signal = args[:accelerated_shopping_signal] if args.key?(:accelerated_shopping_signal)
57330
57778
  @chrome_counts = args[:chrome_counts] if args.key?(:chrome_counts)
57779
+ @creator = args[:creator] if args.key?(:creator)
57331
57780
  @instant_navboost = args[:instant_navboost] if args.key?(:instant_navboost)
57332
57781
  @localyp = args[:localyp] if args.key?(:localyp)
57333
- @localyp_version = args[:localyp_version] if args.key?(:localyp_version)
57334
57782
  @modern_format_content = args[:modern_format_content] if args.key?(:modern_format_content)
57335
- @modern_format_content_version = args[:modern_format_content_version] if args.key?(:modern_format_content_version)
57336
57783
  @navboost = args[:navboost] if args.key?(:navboost)
57337
- @navboost_version = args[:navboost_version] if args.key?(:navboost_version)
57338
57784
  @rankembed = args[:rankembed] if args.key?(:rankembed)
57339
57785
  @universal_facts = args[:universal_facts] if args.key?(:universal_facts)
57340
57786
  @video_scoring_signal = args[:video_scoring_signal] if args.key?(:video_scoring_signal)
57341
- @video_scoring_signal_version = args[:video_scoring_signal_version] if args.key?(:video_scoring_signal_version)
57342
57787
  @volt = args[:volt] if args.key?(:volt)
57343
- @volt_version = args[:volt_version] if args.key?(:volt_version)
57344
57788
  end
57345
57789
  end
57346
57790
 
@@ -62042,7 +62486,7 @@ module Google
62042
62486
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingModelsRecurrence]
62043
62487
  attr_accessor :recurrence
62044
62488
 
62045
- # Next id: 32
62489
+ # Next id: 33
62046
62490
  # Corresponds to the JSON property `reminder`
62047
62491
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminder]
62048
62492
  attr_accessor :reminder
@@ -62587,7 +63031,7 @@ module Google
62587
63031
 
62588
63032
  # Signals to be used by the Prefulfillment Ranker. Derived from the
62589
63033
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
62590
- # Next ID: 41
63034
+ # Next ID: 47
62591
63035
  # Corresponds to the JSON property `prefulfillmentSignals`
62592
63036
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
62593
63037
  attr_accessor :prefulfillment_signals
@@ -66916,13 +67360,11 @@ module Google
66916
67360
  end
66917
67361
  end
66918
67362
 
66919
- # This message holds person attributes from the LookNet-Person model (go/looknet-
66920
- # person) and the Style AI Iconic Person Scorer (http://go/styleai-indexing-
66921
- # g3doc#iconic-person-scorer) for the most iconic person in a style image. There
66922
- # is an ongoing collaboration with the Human Sensing team on LookNet-Person v3 (
66923
- # go/looknet-person-v3-collaboration) that deals with some of these signals
66924
- # together. Hence, the combined proto definition. Discretization of float values
66925
- # is recommended by CDS for cheaper and more efficient storage. Next ID: 11
67363
+ # This message holds person attributes from the Person Interpreter model (go/
67364
+ # person-interpreter) and the Style AI Iconic Person Scorer (go/styleai-indexing-
67365
+ # g3doc#iconic-person-scorer) for the most iconic person in a style image.
67366
+ # Discretization of float values is recommended by CDS for cheaper and more
67367
+ # efficient storage. Next ID: 11
66926
67368
  class LensDiscoveryStylePersonAttributes
66927
67369
  include Google::Apis::Core::Hashable
66928
67370
 
@@ -83641,7 +84083,7 @@ module Google
83641
84083
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsLink]
83642
84084
  attr_accessor :apps_link
83643
84085
 
83644
- # For indexing Asteroid Belt intent scores. See go/asteroid-belt for details.
84086
+ # Next ID: 7
83645
84087
  # Corresponds to the JSON property `asteroidBeltIntents`
83646
84088
  # @return [Google::Apis::ContentwarehouseV1::QualityOrbitAsteroidBeltDocumentIntentScores]
83647
84089
  attr_accessor :asteroid_belt_intents
@@ -88294,7 +88736,7 @@ module Google
88294
88736
  end
88295
88737
  end
88296
88738
 
88297
- # Next id: 32
88739
+ # Next id: 33
88298
88740
  class QualityActionsReminder
88299
88741
  include Google::Apis::Core::Hashable
88300
88742
 
@@ -88412,6 +88854,12 @@ module Google
88412
88854
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminderDynamiteGroup]
88413
88855
  attr_accessor :dynamite_group_assignment_source
88414
88856
 
88857
+ # OPTIONAL. Device ID for home notification which should have loud notification.
88858
+ # See go/device-id-storage-in-tasks
88859
+ # Corresponds to the JSON property `extraNotificationDeviceId`
88860
+ # @return [String]
88861
+ attr_accessor :extra_notification_device_id
88862
+
88415
88863
  # DEPRECATED. Use `client_id` or `server_id` instead.
88416
88864
  # Corresponds to the JSON property `id`
88417
88865
  # @return [String]
@@ -88506,6 +88954,7 @@ module Google
88506
88954
  @description = args[:description] if args.key?(:description)
88507
88955
  @document_assignment_source = args[:document_assignment_source] if args.key?(:document_assignment_source)
88508
88956
  @dynamite_group_assignment_source = args[:dynamite_group_assignment_source] if args.key?(:dynamite_group_assignment_source)
88957
+ @extra_notification_device_id = args[:extra_notification_device_id] if args.key?(:extra_notification_device_id)
88509
88958
  @id = args[:id] if args.key?(:id)
88510
88959
  @location = args[:location] if args.key?(:location)
88511
88960
  @log = args[:log] if args.key?(:log)
@@ -90946,7 +91395,7 @@ module Google
90946
91395
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrChunksProto]
90947
91396
  attr_accessor :nsr_chunks
90948
91397
 
90949
- # These are annotated in the Goldmine NSR annotator.
91398
+ # Annotated in the SitechunksAnnotator and copied over in NsrAnnotator.
90950
91399
  # Corresponds to the JSON property `siteChunkSource`
90951
91400
  # @return [String]
90952
91401
  attr_accessor :site_chunk_source
@@ -91396,6 +91845,17 @@ module Google
91396
91845
  # @return [Array<String>]
91397
91846
  attr_accessor :raffia_lookup_keys
91398
91847
 
91848
+ # The url used by NsrSignalMerger (http://google3/indexing/signals/signal-merger.
91849
+ # h;l=1801;rcl=509297232) to select which NsrData value to keep. The
91850
+ # SignalMerger merges all the NsrData coming from the dup url cluster, and
91851
+ # select the NsrData value to return by choosing a single url in the cluster (
91852
+ # see NsrSignalMerger class for details). NOTE: This field is populated only
91853
+ # when there *is* a cluster. If there is no cluster, this is empty and the key
91854
+ # used is the canonical (and only) url.
91855
+ # Corresponds to the JSON property `raffiaSignalMergerUrl`
91856
+ # @return [String]
91857
+ attr_accessor :raffia_signal_merger_url
91858
+
91399
91859
  def initialize(**args)
91400
91860
  update!(**args)
91401
91861
  end
@@ -91412,6 +91872,7 @@ module Google
91412
91872
  @raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
91413
91873
  @raffia_lookup_key_per_field = args[:raffia_lookup_key_per_field] if args.key?(:raffia_lookup_key_per_field)
91414
91874
  @raffia_lookup_keys = args[:raffia_lookup_keys] if args.key?(:raffia_lookup_keys)
91875
+ @raffia_signal_merger_url = args[:raffia_signal_merger_url] if args.key?(:raffia_signal_merger_url)
91415
91876
  end
91416
91877
  end
91417
91878
 
@@ -91576,10 +92037,22 @@ module Google
91576
92037
  end
91577
92038
  end
91578
92039
 
91579
- #
92040
+ # Next ID: 7
91580
92041
  class QualityOrbitAsteroidBeltDocumentIntentScores
91581
92042
  include Google::Apis::Core::Hashable
91582
92043
 
92044
+ # Same as above, but for intents below triggering threshold. It can be assumed
92045
+ # that any intent in this list has trigger=false. Most intents do not have below-
92046
+ # threshold annotations.
92047
+ # Corresponds to the JSON property `belowThresholdIntents`
92048
+ # @return [Array<String>]
92049
+ attr_accessor :below_threshold_intents
92050
+
92051
+ #
92052
+ # Corresponds to the JSON property `belowThresholdScores`
92053
+ # @return [Array<Fixnum>]
92054
+ attr_accessor :below_threshold_scores
92055
+
91583
92056
  # Map of imageid key to ImageIntentScores, for images on cdoc.doc_images
91584
92057
  # Corresponds to the JSON property `imageIntentScores`
91585
92058
  # @return [Hash<String,Google::Apis::ContentwarehouseV1::QualityOrbitAsteroidBeltImageIntentScores>]
@@ -91597,10 +92070,7 @@ module Google
91597
92070
  # @return [Array<Fixnum>]
91598
92071
  attr_accessor :scores
91599
92072
 
91600
- # Version 0: Presence of an intent label in the 'intents' field represents our
91601
- # best-effort classification. The 'scores' field is not meaningful. Version 1:
91602
- # Values in the 'scores' field represent the estimated precision of the
91603
- # classifier for a threshold at that score.
92073
+ # DEPRECATED. DO NOT USE IT FOR ANY REASON! contact orbit@ if necessary.
91604
92074
  # Corresponds to the JSON property `version`
91605
92075
  # @return [Fixnum]
91606
92076
  attr_accessor :version
@@ -91611,6 +92081,8 @@ module Google
91611
92081
 
91612
92082
  # Update properties of this object
91613
92083
  def update!(**args)
92084
+ @below_threshold_intents = args[:below_threshold_intents] if args.key?(:below_threshold_intents)
92085
+ @below_threshold_scores = args[:below_threshold_scores] if args.key?(:below_threshold_scores)
91614
92086
  @image_intent_scores = args[:image_intent_scores] if args.key?(:image_intent_scores)
91615
92087
  @intents = args[:intents] if args.key?(:intents)
91616
92088
  @scores = args[:scores] if args.key?(:scores)
@@ -94021,6 +94493,11 @@ module Google
94021
94493
  # @return [Array<Fixnum>]
94022
94494
  attr_accessor :fingerprint_of_offer_urls
94023
94495
 
94496
+ # Global trade item number (GTIN).
94497
+ # Corresponds to the JSON property `gtinValue`
94498
+ # @return [Array<String>]
94499
+ attr_accessor :gtin_value
94500
+
94024
94501
  # image_id is sorted and distinct for efficient search during serving.
94025
94502
  # Corresponds to the JSON property `imageId`
94026
94503
  # @return [Array<Fixnum>]
@@ -94095,6 +94572,7 @@ module Google
94095
94572
  @condition = args[:condition] if args.key?(:condition)
94096
94573
  @control_type = args[:control_type] if args.key?(:control_type)
94097
94574
  @fingerprint_of_offer_urls = args[:fingerprint_of_offer_urls] if args.key?(:fingerprint_of_offer_urls)
94575
+ @gtin_value = args[:gtin_value] if args.key?(:gtin_value)
94098
94576
  @image_id = args[:image_id] if args.key?(:image_id)
94099
94577
  @inferred_images = args[:inferred_images] if args.key?(:inferred_images)
94100
94578
  @is_lens_buildable = args[:is_lens_buildable] if args.key?(:is_lens_buildable)
@@ -94292,6 +94770,11 @@ module Google
94292
94770
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentPBlock]
94293
94771
  attr_accessor :pblock
94294
94772
 
94773
+ # Product level Browseonomy ids from shopping_annotation.product.browseonomy.
94774
+ # Corresponds to the JSON property `productBrowseonomyIds`
94775
+ # @return [Array<Fixnum>]
94776
+ attr_accessor :product_browseonomy_ids
94777
+
94295
94778
  #
94296
94779
  # Corresponds to the JSON property `productClusterMid`
94297
94780
  # @return [Fixnum]
@@ -94330,6 +94813,7 @@ module Google
94330
94813
  @offer = args[:offer] if args.key?(:offer)
94331
94814
  @outlink_domain_relationship = args[:outlink_domain_relationship] if args.key?(:outlink_domain_relationship)
94332
94815
  @pblock = args[:pblock] if args.key?(:pblock)
94816
+ @product_browseonomy_ids = args[:product_browseonomy_ids] if args.key?(:product_browseonomy_ids)
94333
94817
  @product_cluster_mid = args[:product_cluster_mid] if args.key?(:product_cluster_mid)
94334
94818
  @product_popularity = args[:product_popularity] if args.key?(:product_popularity)
94335
94819
  @relevance_embedding = args[:relevance_embedding] if args.key?(:relevance_embedding)
@@ -97595,11 +98079,6 @@ module Google
97595
98079
  class RepositoryWebrefDocumentMetadata
97596
98080
  include Google::Apis::Core::Hashable
97597
98081
 
97598
- # This is proto2's version of MessageSet.
97599
- # Corresponds to the JSON property `cdocAttachments`
97600
- # @return [Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet]
97601
- attr_accessor :cdoc_attachments
97602
-
97603
98082
  # The timestamp of when the document was crawled (if known). Copied from
97604
98083
  # CompositeDoc.Content.CrawlTime.
97605
98084
  # Corresponds to the JSON property `crawlTime`
@@ -97645,13 +98124,6 @@ module Google
97645
98124
  # @return [Float]
97646
98125
  attr_accessor :num_incoming_anchors
97647
98126
 
97648
- # Copies of selected repeated extensions from cdoc, controlled by: --
97649
- # webref_doc_metadata_copy_images (copies the repeated doc_images field (TypeId
97650
- # 8798074), defined in image/search/imagedoc.proto).
97651
- # Corresponds to the JSON property `repeatedCdocAttachments`
97652
- # @return [Array<Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet>]
97653
- attr_accessor :repeated_cdoc_attachments
97654
-
97655
98127
  # SalientTermSet is a collection of terms (unigrams and bigrams) with associated
97656
98128
  # weights that can describe something. The "salient terms".
97657
98129
  # Corresponds to the JSON property `salientTerms`
@@ -97681,7 +98153,6 @@ module Google
97681
98153
 
97682
98154
  # Update properties of this object
97683
98155
  def update!(**args)
97684
- @cdoc_attachments = args[:cdoc_attachments] if args.key?(:cdoc_attachments)
97685
98156
  @crawl_time = args[:crawl_time] if args.key?(:crawl_time)
97686
98157
  @doc_fp = args[:doc_fp] if args.key?(:doc_fp)
97687
98158
  @doc_id = args[:doc_id] if args.key?(:doc_id)
@@ -97689,7 +98160,6 @@ module Google
97689
98160
  @is_disambiguation_page = args[:is_disambiguation_page] if args.key?(:is_disambiguation_page)
97690
98161
  @language = args[:language] if args.key?(:language)
97691
98162
  @num_incoming_anchors = args[:num_incoming_anchors] if args.key?(:num_incoming_anchors)
97692
- @repeated_cdoc_attachments = args[:repeated_cdoc_attachments] if args.key?(:repeated_cdoc_attachments)
97693
98163
  @salient_terms = args[:salient_terms] if args.key?(:salient_terms)
97694
98164
  @title = args[:title] if args.key?(:title)
97695
98165
  @total_clicks = args[:total_clicks] if args.key?(:total_clicks)
@@ -99267,12 +99737,13 @@ module Google
99267
99737
  end
99268
99738
 
99269
99739
  # A single understood lexicon of the |category| on byte range from |begin_offset|
99270
- # (inclusive) to |end_offset| (exclusive). The byte range could be a subtoken
99271
- # range or span across multiple tokens.
99740
+ # (inclusive) to |end_offset| (exclusive). The offsets are all byte offsets
99741
+ # relative to the full original query and cover both the mentions and
99742
+ # surrounding markers.
99272
99743
  class RepositoryWebrefLexicalRange
99273
99744
  include Google::Apis::Core::Hashable
99274
99745
 
99275
- # Byte offset of the begin of the |category|.
99746
+ # Begin byte offset relative to the full original query.
99276
99747
  # Corresponds to the JSON property `beginOffset`
99277
99748
  # @return [Fixnum]
99278
99749
  attr_accessor :begin_offset
@@ -99287,7 +99758,7 @@ module Google
99287
99758
  # @return [String]
99288
99759
  attr_accessor :direction
99289
99760
 
99290
- # Byte offset of the end of the |category|.
99761
+ # End byte offset relative to the full original query.
99291
99762
  # Corresponds to the JSON property `endOffset`
99292
99763
  # @return [Fixnum]
99293
99764
  attr_accessor :end_offset
@@ -103912,6 +104383,52 @@ module Google
103912
104383
  end
103913
104384
  end
103914
104385
 
104386
+ #
104387
+ class ResearchScamNumericRestrictNamespace
104388
+ include Google::Apis::Core::Hashable
104389
+
104390
+ # The name of this namespace.
104391
+ # Corresponds to the JSON property `namespace`
104392
+ # @return [String]
104393
+ attr_accessor :namespace
104394
+
104395
+ # This MUST be specified for queries and must NOT be specified for database
104396
+ # points.
104397
+ # Corresponds to the JSON property `op`
104398
+ # @return [String]
104399
+ attr_accessor :op
104400
+
104401
+ #
104402
+ # Corresponds to the JSON property `valueDouble`
104403
+ # @return [Float]
104404
+ attr_accessor :value_double
104405
+
104406
+ #
104407
+ # Corresponds to the JSON property `valueFloat`
104408
+ # @return [Float]
104409
+ attr_accessor :value_float
104410
+
104411
+ # NOTE: Integers are represented in 64 bits here, but if all integer values for
104412
+ # a given namespace fit in a narrower integer type (e.g. int8), we use the
104413
+ # narrower integer type internally, increasing performance.
104414
+ # Corresponds to the JSON property `valueInt`
104415
+ # @return [Fixnum]
104416
+ attr_accessor :value_int
104417
+
104418
+ def initialize(**args)
104419
+ update!(**args)
104420
+ end
104421
+
104422
+ # Update properties of this object
104423
+ def update!(**args)
104424
+ @namespace = args[:namespace] if args.key?(:namespace)
104425
+ @op = args[:op] if args.key?(:op)
104426
+ @value_double = args[:value_double] if args.key?(:value_double)
104427
+ @value_float = args[:value_float] if args.key?(:value_float)
104428
+ @value_int = args[:value_int] if args.key?(:value_int)
104429
+ end
104430
+ end
104431
+
103915
104432
  # Structure to hold the response time for a node. Last used: 3
103916
104433
  class ResearchScamOnlineSearchLatencyStats
103917
104434
  include Google::Apis::Core::Hashable
@@ -104199,6 +104716,14 @@ module Google
104199
104716
  # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScamTokenNamespace>]
104200
104717
  attr_accessor :namespaces
104201
104718
 
104719
+ # This field allows restricts to be based on numeric comparisons rather than
104720
+ # categorical tokens. HINT: To allow a range of values in a namespace (e.g. 42 <=
104721
+ # x < 128), specify the same namespace twice in the query, e.g.: `namespace: "x"
104722
+ # op: LESS value_int: 128 ` `namespace: "x" op: GREATER_EQUAL value_int: 42 `
104723
+ # Corresponds to the JSON property `numericNamespaces`
104724
+ # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScamNumericRestrictNamespace>]
104725
+ attr_accessor :numeric_namespaces
104726
+
104202
104727
  def initialize(**args)
104203
104728
  update!(**args)
104204
104729
  end
@@ -104206,6 +104731,7 @@ module Google
104206
104731
  # Update properties of this object
104207
104732
  def update!(**args)
104208
104733
  @namespaces = args[:namespaces] if args.key?(:namespaces)
104734
+ @numeric_namespaces = args[:numeric_namespaces] if args.key?(:numeric_namespaces)
104209
104735
  end
104210
104736
  end
104211
104737
 
@@ -105560,6 +106086,17 @@ module Google
105560
106086
  class SafesearchVideoContentSignals
105561
106087
  include Google::Apis::Core::Hashable
105562
106088
 
106089
+ # This is used by Amarna to determine whether it should notify Raffia for
106090
+ # immediate reprocessing. This field will be generated in Amarna's
106091
+ # image_metadata corpus and exported to references_video_search corpus and
106092
+ # written to ExportState.module_state.critical_metadata_checksum for determining
106093
+ # whether Amarna should immediately notify Raffia whenever
106094
+ # is_abuse_with_high_confidence's value changes.
106095
+ # Corresponds to the JSON property `isAbuseWithHighConfidence`
106096
+ # @return [Boolean]
106097
+ attr_accessor :is_abuse_with_high_confidence
106098
+ alias_method :is_abuse_with_high_confidence?, :is_abuse_with_high_confidence
106099
+
105563
106100
  #
105564
106101
  # Corresponds to the JSON property `scores`
105565
106102
  # @return [Hash<String,Float>]
@@ -105590,6 +106127,7 @@ module Google
105590
106127
 
105591
106128
  # Update properties of this object
105592
106129
  def update!(**args)
106130
+ @is_abuse_with_high_confidence = args[:is_abuse_with_high_confidence] if args.key?(:is_abuse_with_high_confidence)
105593
106131
  @scores = args[:scores] if args.key?(:scores)
105594
106132
  @version_tag = args[:version_tag] if args.key?(:version_tag)
105595
106133
  @video_classifier_output = args[:video_classifier_output] if args.key?(:video_classifier_output)
@@ -106944,6 +107482,11 @@ module Google
106944
107482
  class ScienceCitationFundingExtractionInfo
106945
107483
  include Google::Apis::Core::Hashable
106946
107484
 
107485
+ # Set when we clear all extracted funding from this citation in the parser.
107486
+ # Corresponds to the JSON property `ClearedFunding`
107487
+ # @return [String]
107488
+ attr_accessor :cleared_funding
107489
+
106947
107490
  # Text block context from which the funding entry was extracted. Optionally
106948
107491
  # filled and intended to be used for offline analysis.
106949
107492
  # Corresponds to the JSON property `DebugFundingTextBlock`
@@ -106971,6 +107514,7 @@ module Google
106971
107514
 
106972
107515
  # Update properties of this object
106973
107516
  def update!(**args)
107517
+ @cleared_funding = args[:cleared_funding] if args.key?(:cleared_funding)
106974
107518
  @debug_funding_text_block = args[:debug_funding_text_block] if args.key?(:debug_funding_text_block)
106975
107519
  @doc_part = args[:doc_part] if args.key?(:doc_part)
106976
107520
  @parse_section = args[:parse_section] if args.key?(:parse_section)
@@ -107626,6 +108170,11 @@ module Google
107626
108170
  # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivityFollowOn]
107627
108171
  attr_accessor :followon
107628
108172
 
108173
+ # Marks that sensitivity is from a Grounding Provider.
108174
+ # Corresponds to the JSON property `groundingProvider`
108175
+ # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivityGroundingProvider]
108176
+ attr_accessor :grounding_provider
108177
+
107629
108178
  # Deprecated, do not use.
107630
108179
  # Corresponds to the JSON property `prefilter`
107631
108180
  # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivityPrefilter]
@@ -107641,7 +108190,7 @@ module Google
107641
108190
  # @return [String]
107642
108191
  attr_accessor :sensitivity_mode
107643
108192
 
107644
- # Marks that this sensitivity is form a synthetic intent.
108193
+ # Marks that this sensitivity is from a synthetic intent.
107645
108194
  # Corresponds to the JSON property `syntheticIntent`
107646
108195
  # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivitySyntheticIntent]
107647
108196
  attr_accessor :synthetic_intent
@@ -107661,6 +108210,7 @@ module Google
107661
108210
  @attentional_entity = args[:attentional_entity] if args.key?(:attentional_entity)
107662
108211
  @dasher_user = args[:dasher_user] if args.key?(:dasher_user)
107663
108212
  @followon = args[:followon] if args.key?(:followon)
108213
+ @grounding_provider = args[:grounding_provider] if args.key?(:grounding_provider)
107664
108214
  @prefilter = args[:prefilter] if args.key?(:prefilter)
107665
108215
  @qu = args[:qu] if args.key?(:qu)
107666
108216
  @sensitivity_mode = args[:sensitivity_mode] if args.key?(:sensitivity_mode)
@@ -107737,6 +108287,19 @@ module Google
107737
108287
  end
107738
108288
  end
107739
108289
 
108290
+ # Marks that sensitivity is from a Grounding Provider.
108291
+ class SearchPolicyRankableSensitivityGroundingProvider
108292
+ include Google::Apis::Core::Hashable
108293
+
108294
+ def initialize(**args)
108295
+ update!(**args)
108296
+ end
108297
+
108298
+ # Update properties of this object
108299
+ def update!(**args)
108300
+ end
108301
+ end
108302
+
107740
108303
  # Deprecated, do not use.
107741
108304
  class SearchPolicyRankableSensitivityPrefilter
107742
108305
  include Google::Apis::Core::Hashable
@@ -107788,7 +108351,7 @@ module Google
107788
108351
  end
107789
108352
  end
107790
108353
 
107791
- # Marks that this sensitivity is form a synthetic intent.
108354
+ # Marks that this sensitivity is from a synthetic intent.
107792
108355
  class SearchPolicyRankableSensitivitySyntheticIntent
107793
108356
  include Google::Apis::Core::Hashable
107794
108357
 
@@ -109086,6 +109649,12 @@ module Google
109086
109649
  # @return [String]
109087
109650
  attr_accessor :inferred_image_type
109088
109651
 
109652
+ # This field will only be populated if the inferred image is a neardup of an
109653
+ # inferred image. It stores the type and source of the images it is a neardup of.
109654
+ # Corresponds to the JSON property `neardupInfo`
109655
+ # @return [Array<Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationInferredImageNeardupInfo>]
109656
+ attr_accessor :neardup_info
109657
+
109089
109658
  def initialize(**args)
109090
109659
  update!(**args)
109091
109660
  end
@@ -109095,6 +109664,32 @@ module Google
109095
109664
  @inferred_image_id = args[:inferred_image_id] if args.key?(:inferred_image_id)
109096
109665
  @inferred_image_source = args[:inferred_image_source] if args.key?(:inferred_image_source)
109097
109666
  @inferred_image_type = args[:inferred_image_type] if args.key?(:inferred_image_type)
109667
+ @neardup_info = args[:neardup_info] if args.key?(:neardup_info)
109668
+ end
109669
+ end
109670
+
109671
+ #
109672
+ class ShoppingWebentityShoppingAnnotationInferredImageNeardupInfo
109673
+ include Google::Apis::Core::Hashable
109674
+
109675
+ #
109676
+ # Corresponds to the JSON property `inferredImageSource`
109677
+ # @return [String]
109678
+ attr_accessor :inferred_image_source
109679
+
109680
+ #
109681
+ # Corresponds to the JSON property `inferredImageType`
109682
+ # @return [String]
109683
+ attr_accessor :inferred_image_type
109684
+
109685
+ def initialize(**args)
109686
+ update!(**args)
109687
+ end
109688
+
109689
+ # Update properties of this object
109690
+ def update!(**args)
109691
+ @inferred_image_source = args[:inferred_image_source] if args.key?(:inferred_image_source)
109692
+ @inferred_image_type = args[:inferred_image_type] if args.key?(:inferred_image_type)
109098
109693
  end
109099
109694
  end
109100
109695
 
@@ -109712,7 +110307,7 @@ module Google
109712
110307
  end
109713
110308
  end
109714
110309
 
109715
- # Next ID: 14
110310
+ # Next ID: 15
109716
110311
  class SnippetExtraInfoSnippetCandidateInfo
109717
110312
  include Google::Apis::Core::Hashable
109718
110313
 
@@ -109721,6 +110316,11 @@ module Google
109721
110316
  # @return [Array<Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRange>]
109722
110317
  attr_accessor :bolded_ranges
109723
110318
 
110319
+ # The extended version of this snippet.
110320
+ # Corresponds to the JSON property `extendedSnippet`
110321
+ # @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetCandidateInfoExtendedSnippet]
110322
+ attr_accessor :extended_snippet
110323
+
109724
110324
  # Candidate identifier number, unique among all snippet candidates under each
109725
110325
  # document in each request. What does this number mean: - Muppet candidates:
109726
110326
  # This equals to the candidate's rank by Muppet snippets scorer. - Superroot
@@ -109782,6 +110382,7 @@ module Google
109782
110382
  # Update properties of this object
109783
110383
  def update!(**args)
109784
110384
  @bolded_ranges = args[:bolded_ranges] if args.key?(:bolded_ranges)
110385
+ @extended_snippet = args[:extended_snippet] if args.key?(:extended_snippet)
109785
110386
  @id = args[:id] if args.key?(:id)
109786
110387
  @is_muppet_selected_snippet = args[:is_muppet_selected_snippet] if args.key?(:is_muppet_selected_snippet)
109787
110388
  @is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
@@ -109794,6 +110395,31 @@ module Google
109794
110395
  end
109795
110396
  end
109796
110397
 
110398
+ # The extended version of this snippet.
110399
+ class SnippetExtraInfoSnippetCandidateInfoExtendedSnippet
110400
+ include Google::Apis::Core::Hashable
110401
+
110402
+ #
110403
+ # Corresponds to the JSON property `numChars`
110404
+ # @return [Fixnum]
110405
+ attr_accessor :num_chars
110406
+
110407
+ #
110408
+ # Corresponds to the JSON property `snippetText`
110409
+ # @return [String]
110410
+ attr_accessor :snippet_text
110411
+
110412
+ def initialize(**args)
110413
+ update!(**args)
110414
+ end
110415
+
110416
+ # Update properties of this object
110417
+ def update!(**args)
110418
+ @num_chars = args[:num_chars] if args.key?(:num_chars)
110419
+ @snippet_text = args[:snippet_text] if args.key?(:snippet_text)
110420
+ end
110421
+ end
110422
+
109797
110423
  # Next ID: 9
109798
110424
  class SnippetExtraInfoSnippetScoringInfo
109799
110425
  include Google::Apis::Core::Hashable
@@ -113307,6 +113933,12 @@ module Google
113307
113933
  # @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgLmsPolicyMetadata]
113308
113934
  attr_accessor :lms_policy_metadata
113309
113935
 
113936
+ # This triple is protected by the policies with PolicyDataScope identified by
113937
+ # these global unique ids.
113938
+ # Corresponds to the JSON property `policyDataScopeKeys`
113939
+ # @return [Array<Fixnum>]
113940
+ attr_accessor :policy_data_scope_keys
113941
+
113310
113942
  # Policy metadata are VERTICAL by default. Vertical policy makers / providers
113311
113943
  # does not need to set this field explicitly.
113312
113944
  # Corresponds to the JSON property `policySourceType`
@@ -113332,6 +113964,7 @@ module Google
113332
113964
  @legal_allowed_regions = args[:legal_allowed_regions] if args.key?(:legal_allowed_regions)
113333
113965
  @legal_removal_regions = args[:legal_removal_regions] if args.key?(:legal_removal_regions)
113334
113966
  @lms_policy_metadata = args[:lms_policy_metadata] if args.key?(:lms_policy_metadata)
113967
+ @policy_data_scope_keys = args[:policy_data_scope_keys] if args.key?(:policy_data_scope_keys)
113335
113968
  @policy_source_type = args[:policy_source_type] if args.key?(:policy_source_type)
113336
113969
  @ump_policy_metadata = args[:ump_policy_metadata] if args.key?(:ump_policy_metadata)
113337
113970
  end
@@ -117649,7 +118282,7 @@ module Google
117649
118282
  end
117650
118283
  end
117651
118284
 
117652
- # Contains anchor level features that apply to all anchor types. Next id: 18.
118285
+ # Contains anchor level features that apply to all anchor types. Next id: 22.
117653
118286
  class VideoContentSearchAnchorCommonFeatureSet
117654
118287
  include Google::Apis::Core::Hashable
117655
118288
 
@@ -117659,6 +118292,16 @@ module Google
117659
118292
  # @return [Float]
117660
118293
  attr_accessor :anchor_qbst_distance
117661
118294
 
118295
+ # Average of babel similarity between the anchor and all asr sentences.
118296
+ # Corresponds to the JSON property `asrAverageBabelSimilarityScore`
118297
+ # @return [Float]
118298
+ attr_accessor :asr_average_babel_similarity_score
118299
+
118300
+ # Maximum babel similarity between the anchor and the asr sentences.
118301
+ # Corresponds to the JSON property `asrMaximumBabelSimilarityScore`
118302
+ # @return [Float]
118303
+ attr_accessor :asr_maximum_babel_similarity_score
118304
+
117662
118305
  # Contains features needed for Bleurt inference.
117663
118306
  # Corresponds to the JSON property `bleurtFeatures`
117664
118307
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchBleurtFeatures]
@@ -117674,6 +118317,16 @@ module Google
117674
118317
  # @return [Float]
117675
118318
  attr_accessor :descartes_score_with_title
117676
118319
 
118320
+ # Average of babel similarity between the anchor and all description sentences.
118321
+ # Corresponds to the JSON property `descriptionAverageBabelSimilarityScore`
118322
+ # @return [Float]
118323
+ attr_accessor :description_average_babel_similarity_score
118324
+
118325
+ # Maximum babel similarity between the anchor and the description sentences.
118326
+ # Corresponds to the JSON property `descriptionMaximumBabelSimilarityScore`
118327
+ # @return [Float]
118328
+ attr_accessor :description_maximum_babel_similarity_score
118329
+
117677
118330
  # The predicted descriptiveness and usefulness rating scores generated by the
117678
118331
  # Unified Dolphin model. Rating template: experimental/video/
117679
118332
  # video_anchors_oneside_without_thumbnail/template.jhtml
@@ -117760,9 +118413,13 @@ module Google
117760
118413
  # Update properties of this object
117761
118414
  def update!(**args)
117762
118415
  @anchor_qbst_distance = args[:anchor_qbst_distance] if args.key?(:anchor_qbst_distance)
118416
+ @asr_average_babel_similarity_score = args[:asr_average_babel_similarity_score] if args.key?(:asr_average_babel_similarity_score)
118417
+ @asr_maximum_babel_similarity_score = args[:asr_maximum_babel_similarity_score] if args.key?(:asr_maximum_babel_similarity_score)
117763
118418
  @bleurt_features = args[:bleurt_features] if args.key?(:bleurt_features)
117764
118419
  @bleurt_score = args[:bleurt_score] if args.key?(:bleurt_score)
117765
118420
  @descartes_score_with_title = args[:descartes_score_with_title] if args.key?(:descartes_score_with_title)
118421
+ @description_average_babel_similarity_score = args[:description_average_babel_similarity_score] if args.key?(:description_average_babel_similarity_score)
118422
+ @description_maximum_babel_similarity_score = args[:description_maximum_babel_similarity_score] if args.key?(:description_maximum_babel_similarity_score)
117766
118423
  @dolphin_descriptiveness_score = args[:dolphin_descriptiveness_score] if args.key?(:dolphin_descriptiveness_score)
117767
118424
  @dolphin_ensemble_score = args[:dolphin_ensemble_score] if args.key?(:dolphin_ensemble_score)
117768
118425
  @dolphin_features = args[:dolphin_features] if args.key?(:dolphin_features)
@@ -121693,7 +122350,7 @@ module Google
121693
122350
  class VideoContentSearchVideoAnchorScoreInfo
121694
122351
  include Google::Apis::Core::Hashable
121695
122352
 
121696
- # Contains anchor level features that apply to all anchor types. Next id: 18.
122353
+ # Contains anchor level features that apply to all anchor types. Next id: 22.
121697
122354
  # Corresponds to the JSON property `anchorCommonFeatureSet`
121698
122355
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchAnchorCommonFeatureSet]
121699
122356
  attr_accessor :anchor_common_feature_set