google-apis-contentwarehouse_v1 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10859,6 +10859,168 @@ module Google
10859
10859
  end
10860
10860
  end
10861
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
+
10862
11024
  # Task metadata information describing the ringtone. Next id: 11
10863
11025
  class AssistantApiCoreTypesGovernedRingtoneTaskMetadata
10864
11026
  include Google::Apis::Core::Hashable
@@ -17784,6 +17946,276 @@ module Google
17784
17946
  end
17785
17947
  end
17786
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
+
17787
18219
  # The information associated with an error while selecting the target device.
17788
18220
  # Next ID: 2
17789
18221
  class AssistantDeviceTargetingDeviceTargetingError
@@ -19059,7 +19491,37 @@ module Google
19059
19491
  end
19060
19492
  end
19061
19493
 
19062
- # 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
19063
19525
  class AssistantGroundingRankerGroundingProviderFeatures
19064
19526
  include Google::Apis::Core::Hashable
19065
19527
 
@@ -19068,12 +19530,17 @@ module Google
19068
19530
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
19069
19531
  attr_accessor :contact_grounding_provider_features
19070
19532
 
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
+
19071
19538
  # Features to be passed from Media GP to HGR. Next ID: 9
19072
19539
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
19073
19540
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
19074
19541
  attr_accessor :media_grounding_provider_features
19075
19542
 
19076
- # 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
19077
19544
  # Corresponds to the JSON property `providerGroundingProviderFeatures`
19078
19545
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerProviderGroundingProviderFeatures]
19079
19546
  attr_accessor :provider_grounding_provider_features
@@ -19085,6 +19552,7 @@ module Google
19085
19552
  # Update properties of this object
19086
19553
  def update!(**args)
19087
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)
19088
19556
  @media_grounding_provider_features = args[:media_grounding_provider_features] if args.key?(:media_grounding_provider_features)
19089
19557
  @provider_grounding_provider_features = args[:provider_grounding_provider_features] if args.key?(:provider_grounding_provider_features)
19090
19558
  end
@@ -19286,10 +19754,37 @@ module Google
19286
19754
  end
19287
19755
  end
19288
19756
 
19289
- # 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
19290
19758
  class AssistantGroundingRankerProviderGroundingProviderFeatures
19291
19759
  include Google::Apis::Core::Hashable
19292
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
+
19293
19788
  # Provider quality score in the range [0,1] that can be used for ranking
19294
19789
  # providers. Incorporates both policy rules and quality considerations.
19295
19790
  # Corresponds to the JSON property `pslScore`
@@ -19302,6 +19797,8 @@ module Google
19302
19797
 
19303
19798
  # Update properties of this object
19304
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)
19305
19802
  @psl_score = args[:psl_score] if args.key?(:psl_score)
19306
19803
  end
19307
19804
  end
@@ -20973,7 +21470,7 @@ module Google
20973
21470
  # @return [Float]
20974
21471
  attr_accessor :groundability_score
20975
21472
 
20976
- # Next ID: 4
21473
+ # Next ID: 5
20977
21474
  # Corresponds to the JSON property `groundingProviderFeatures`
20978
21475
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
20979
21476
  attr_accessor :grounding_provider_features
@@ -42988,74 +43485,6 @@ module Google
42988
43485
  end
42989
43486
  end
42990
43487
 
42991
- # Describes a data export job.
42992
- class GoogleCloudContentwarehouseV1DataExportJob
42993
- include Google::Apis::Core::Hashable
42994
-
42995
- # The create time of the job.
42996
- # Corresponds to the JSON property `createTime`
42997
- # @return [String]
42998
- attr_accessor :create_time
42999
-
43000
- # BigQuery dataset name.
43001
- # Corresponds to the JSON property `dataset`
43002
- # @return [String]
43003
- attr_accessor :dataset
43004
-
43005
- # Frequency of the data export job.
43006
- # Corresponds to the JSON property `frequency`
43007
- # @return [String]
43008
- attr_accessor :frequency
43009
-
43010
- # The data export job ID.
43011
- # Corresponds to the JSON property `id`
43012
- # @return [String]
43013
- attr_accessor :id
43014
-
43015
- # Location of document warehouse API.
43016
- # Corresponds to the JSON property `location`
43017
- # @return [String]
43018
- attr_accessor :location
43019
-
43020
- # User project number. The project should have document warehouse API enabled.
43021
- # The BigQuery database should also be in the same project.
43022
- # Corresponds to the JSON property `projectNumber`
43023
- # @return [Fixnum]
43024
- attr_accessor :project_number
43025
-
43026
- # The current state of the data export job.
43027
- # Corresponds to the JSON property `state`
43028
- # @return [String]
43029
- attr_accessor :state
43030
-
43031
- # BigQuery table name.
43032
- # Corresponds to the JSON property `table`
43033
- # @return [String]
43034
- attr_accessor :table
43035
-
43036
- # The last update time of the job.
43037
- # Corresponds to the JSON property `updateTime`
43038
- # @return [String]
43039
- attr_accessor :update_time
43040
-
43041
- def initialize(**args)
43042
- update!(**args)
43043
- end
43044
-
43045
- # Update properties of this object
43046
- def update!(**args)
43047
- @create_time = args[:create_time] if args.key?(:create_time)
43048
- @dataset = args[:dataset] if args.key?(:dataset)
43049
- @frequency = args[:frequency] if args.key?(:frequency)
43050
- @id = args[:id] if args.key?(:id)
43051
- @location = args[:location] if args.key?(:location)
43052
- @project_number = args[:project_number] if args.key?(:project_number)
43053
- @state = args[:state] if args.key?(:state)
43054
- @table = args[:table] if args.key?(:table)
43055
- @update_time = args[:update_time] if args.key?(:update_time)
43056
- end
43057
- end
43058
-
43059
43488
  # Represents the action responsible for properties update operations.
43060
43489
  class GoogleCloudContentwarehouseV1DataUpdateAction
43061
43490
  include Google::Apis::Core::Hashable
@@ -43713,49 +44142,6 @@ module Google
43713
44142
  end
43714
44143
  end
43715
44144
 
43716
- # The configuration of exporting documents from the Document Warehouse to CDW
43717
- # pipeline.
43718
- class GoogleCloudContentwarehouseV1ExportToCdwPipeline
43719
- include Google::Apis::Core::Hashable
43720
-
43721
- # The CDW dataset resource name. Format: projects/`project`/locations/`location`/
43722
- # processors/`processor`/dataset
43723
- # Corresponds to the JSON property `docAiDataset`
43724
- # @return [String]
43725
- attr_accessor :doc_ai_dataset
43726
-
43727
- # The list of all the resource names of the documents to be processed. Format:
43728
- # projects/`project_number`/locations/`location`/documents/`document_id`.
43729
- # Corresponds to the JSON property `documents`
43730
- # @return [Array<String>]
43731
- attr_accessor :documents
43732
-
43733
- # The Cloud Storage folder path used to store the exported documents before
43734
- # being sent to CDW. Format: gs:///.
43735
- # Corresponds to the JSON property `exportFolderPath`
43736
- # @return [String]
43737
- attr_accessor :export_folder_path
43738
-
43739
- # Ratio of training dataset split. When importing into Document AI Workbench,
43740
- # documents will be automatically split into training and test split category
43741
- # with the specified ratio.
43742
- # Corresponds to the JSON property `trainingSplitRatio`
43743
- # @return [Float]
43744
- attr_accessor :training_split_ratio
43745
-
43746
- def initialize(**args)
43747
- update!(**args)
43748
- end
43749
-
43750
- # Update properties of this object
43751
- def update!(**args)
43752
- @doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
43753
- @documents = args[:documents] if args.key?(:documents)
43754
- @export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
43755
- @training_split_ratio = args[:training_split_ratio] if args.key?(:training_split_ratio)
43756
- end
43757
- end
43758
-
43759
44145
  # Request message for DocumentService.FetchAcl
43760
44146
  class GoogleCloudContentwarehouseV1FetchAclRequest
43761
44147
  include Google::Apis::Core::Hashable
@@ -43885,84 +44271,6 @@ module Google
43885
44271
  end
43886
44272
  end
43887
44273
 
43888
- # The configuration of the Cloud Storage ingestion pipeline.
43889
- class GoogleCloudContentwarehouseV1GcsIngestPipeline
43890
- include Google::Apis::Core::Hashable
43891
-
43892
- # The input Cloud Storage folder. All files under this folder will be imported
43893
- # to Document Warehouse. Format: gs:///.
43894
- # Corresponds to the JSON property `inputPath`
43895
- # @return [String]
43896
- attr_accessor :input_path
43897
-
43898
- # The Doc AI processor type name. Only used when the format of ingested files is
43899
- # Doc AI Document proto format. Reference: https://source.corp.google.com/piper//
43900
- # /depot/google3/cloud/ai/documentai/core/c/proto/processor.proto;l=21
43901
- # Corresponds to the JSON property `processorType`
43902
- # @return [String]
43903
- attr_accessor :processor_type
43904
-
43905
- # The Document Warehouse schema resource name. All documents processed by this
43906
- # pipeline will use this schema. Format: projects/`project_number`/locations/`
43907
- # location`/documentSchemas/`document_schema_id`.
43908
- # Corresponds to the JSON property `schemaName`
43909
- # @return [String]
43910
- attr_accessor :schema_name
43911
-
43912
- def initialize(**args)
43913
- update!(**args)
43914
- end
43915
-
43916
- # Update properties of this object
43917
- def update!(**args)
43918
- @input_path = args[:input_path] if args.key?(:input_path)
43919
- @processor_type = args[:processor_type] if args.key?(:processor_type)
43920
- @schema_name = args[:schema_name] if args.key?(:schema_name)
43921
- end
43922
- end
43923
-
43924
- # The configuration of the document classify/split and entity/kvp extraction
43925
- # pipeline.
43926
- class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
43927
- include Google::Apis::Core::Hashable
43928
-
43929
- # The extract processors information. One matched extract processor will be used
43930
- # to process documents based on the classify processor result. If no classify
43931
- # processor is specificied, the first extract processor will be used.
43932
- # Corresponds to the JSON property `extractProcessorInfos`
43933
- # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo>]
43934
- attr_accessor :extract_processor_infos
43935
-
43936
- # The input Cloud Storage folder. All files under this folder will be imported
43937
- # to Document Warehouse. Format: gs:///.
43938
- # Corresponds to the JSON property `inputPath`
43939
- # @return [String]
43940
- attr_accessor :input_path
43941
-
43942
- # The Cloud Storage folder path used to store the raw results from processors.
43943
- # Format: gs:///.
43944
- # Corresponds to the JSON property `processorResultsFolderPath`
43945
- # @return [String]
43946
- attr_accessor :processor_results_folder_path
43947
-
43948
- # The DocAI processor information.
43949
- # Corresponds to the JSON property `splitClassifyProcessorInfo`
43950
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
43951
- attr_accessor :split_classify_processor_info
43952
-
43953
- def initialize(**args)
43954
- update!(**args)
43955
- end
43956
-
43957
- # Update properties of this object
43958
- def update!(**args)
43959
- @extract_processor_infos = args[:extract_processor_infos] if args.key?(:extract_processor_infos)
43960
- @input_path = args[:input_path] if args.key?(:input_path)
43961
- @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
43962
- @split_classify_processor_info = args[:split_classify_processor_info] if args.key?(:split_classify_processor_info)
43963
- end
43964
- end
43965
-
43966
44274
  # Request message for DocumentService.GetDocument.
43967
44275
  class GoogleCloudContentwarehouseV1GetDocumentRequest
43968
44276
  include Google::Apis::Core::Hashable
@@ -44488,82 +44796,6 @@ module Google
44488
44796
  end
44489
44797
  end
44490
44798
 
44491
- # The configuration of processing documents in Document Warehouse with DocAi
44492
- # processors pipeline.
44493
- class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
44494
- include Google::Apis::Core::Hashable
44495
-
44496
- # The list of all the resource names of the documents to be processed. Format:
44497
- # projects/`project_number`/locations/`location`/documents/`document_id`.
44498
- # Corresponds to the JSON property `documents`
44499
- # @return [Array<String>]
44500
- attr_accessor :documents
44501
-
44502
- # The Cloud Storage folder path used to store the exported documents before
44503
- # being sent to CDW. Format: gs:///.
44504
- # Corresponds to the JSON property `exportFolderPath`
44505
- # @return [String]
44506
- attr_accessor :export_folder_path
44507
-
44508
- # The DocAI processor information.
44509
- # Corresponds to the JSON property `processorInfo`
44510
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
44511
- attr_accessor :processor_info
44512
-
44513
- # The Cloud Storage folder path used to store the raw results from processors.
44514
- # Format: gs:///.
44515
- # Corresponds to the JSON property `processorResultsFolderPath`
44516
- # @return [String]
44517
- attr_accessor :processor_results_folder_path
44518
-
44519
- def initialize(**args)
44520
- update!(**args)
44521
- end
44522
-
44523
- # Update properties of this object
44524
- def update!(**args)
44525
- @documents = args[:documents] if args.key?(:documents)
44526
- @export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
44527
- @processor_info = args[:processor_info] if args.key?(:processor_info)
44528
- @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
44529
- end
44530
- end
44531
-
44532
- # The DocAI processor information.
44533
- class GoogleCloudContentwarehouseV1ProcessorInfo
44534
- include Google::Apis::Core::Hashable
44535
-
44536
- # The processor will process the documents with this document type.
44537
- # Corresponds to the JSON property `documentType`
44538
- # @return [String]
44539
- attr_accessor :document_type
44540
-
44541
- # The processor resource name. Format is `projects/`project`/locations/`location`
44542
- # /processors/`processor``, or `projects/`project`/locations/`location`/
44543
- # processors/`processor`/processorVersions/`processorVersion``
44544
- # Corresponds to the JSON property `processorName`
44545
- # @return [String]
44546
- attr_accessor :processor_name
44547
-
44548
- # The Document schema resource name. All documents processed by this processor
44549
- # will use this schema. Format: projects/`project_number`/locations/`location`/
44550
- # documentSchemas/`document_schema_id`.
44551
- # Corresponds to the JSON property `schemaName`
44552
- # @return [String]
44553
- attr_accessor :schema_name
44554
-
44555
- def initialize(**args)
44556
- update!(**args)
44557
- end
44558
-
44559
- # Update properties of this object
44560
- def update!(**args)
44561
- @document_type = args[:document_type] if args.key?(:document_type)
44562
- @processor_name = args[:processor_name] if args.key?(:processor_name)
44563
- @schema_name = args[:schema_name] if args.key?(:schema_name)
44564
- end
44565
- end
44566
-
44567
44799
  # Property of a document.
44568
44800
  class GoogleCloudContentwarehouseV1Property
44569
44801
  include Google::Apis::Core::Hashable
@@ -45185,37 +45417,51 @@ module Google
45185
45417
  end
45186
45418
  end
45187
45419
 
45188
- # Request message for DocumentService.RunPipeline.
45189
- class GoogleCloudContentwarehouseV1RunPipelineRequest
45420
+ # Metadata message of RunPipeline method.
45421
+ class GoogleCloudContentwarehouseV1RunPipelineMetadata
45190
45422
  include Google::Apis::Core::Hashable
45191
45423
 
45192
- # The configuration of exporting documents from the Document Warehouse to CDW
45193
- # pipeline.
45194
- # Corresponds to the JSON property `exportCdwPipeline`
45195
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline]
45196
- 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
45428
+
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
45197
45433
 
45198
- # The configuration of the Cloud Storage ingestion pipeline.
45199
- # Corresponds to the JSON property `gcsIngestPipeline`
45200
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline]
45201
- attr_accessor :gcs_ingest_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
45202
45438
 
45203
- # The configuration of the document classify/split and entity/kvp extraction
45204
- # pipeline.
45205
- # Corresponds to the JSON property `gcsIngestWithDocAiProcessorsPipeline`
45206
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline]
45207
- attr_accessor :gcs_ingest_with_doc_ai_processors_pipeline
45439
+ # The user information.
45440
+ # Corresponds to the JSON property `userInfo`
45441
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo]
45442
+ attr_accessor :user_info
45208
45443
 
45209
- # The configuration of processing documents in Document Warehouse with DocAi
45210
- # processors pipeline.
45211
- # Corresponds to the JSON property `processWithDocAiPipeline`
45212
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline]
45213
- attr_accessor :process_with_doc_ai_pipeline
45444
+ def initialize(**args)
45445
+ update!(**args)
45446
+ end
45214
45447
 
45215
- # Meta information is used to improve the performance of the service.
45216
- # Corresponds to the JSON property `requestMetadata`
45217
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata]
45218
- attr_accessor :request_metadata
45448
+ # Update properties of this object
45449
+ def update!(**args)
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
45219
45465
 
45220
45466
  def initialize(**args)
45221
45467
  update!(**args)
@@ -45223,11 +45469,7 @@ module Google
45223
45469
 
45224
45470
  # Update properties of this object
45225
45471
  def update!(**args)
45226
- @export_cdw_pipeline = args[:export_cdw_pipeline] if args.key?(:export_cdw_pipeline)
45227
- @gcs_ingest_pipeline = args[:gcs_ingest_pipeline] if args.key?(:gcs_ingest_pipeline)
45228
- @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)
45229
- @process_with_doc_ai_pipeline = args[:process_with_doc_ai_pipeline] if args.key?(:process_with_doc_ai_pipeline)
45230
- @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
45472
+ @input_path = args[:input_path] if args.key?(:input_path)
45231
45473
  end
45232
45474
  end
45233
45475
 
@@ -48052,12 +48294,6 @@ module Google
48052
48294
  # @return [String]
48053
48295
  attr_accessor :committed_until
48054
48296
 
48055
- # TODO(b/265939748) To be removed, always false.
48056
- # Corresponds to the JSON property `committedUntilIsMixed`
48057
- # @return [Boolean]
48058
- attr_accessor :committed_until_is_mixed
48059
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
48060
-
48061
48297
  # The summary of the corresponding event in Calendar.
48062
48298
  # Corresponds to the JSON property `eventSummary`
48063
48299
  # @return [String]
@@ -48083,7 +48319,6 @@ module Google
48083
48319
  # Update properties of this object
48084
48320
  def update!(**args)
48085
48321
  @committed_until = args[:committed_until] if args.key?(:committed_until)
48086
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
48087
48322
  @event_summary = args[:event_summary] if args.key?(:event_summary)
48088
48323
  @next_available = args[:next_available] if args.key?(:next_available)
48089
48324
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
@@ -48136,12 +48371,6 @@ module Google
48136
48371
  # @return [String]
48137
48372
  attr_accessor :committed_until
48138
48373
 
48139
- # TODO(b/265939748) To be removed, always false.
48140
- # Corresponds to the JSON property `committedUntilIsMixed`
48141
- # @return [Boolean]
48142
- attr_accessor :committed_until_is_mixed
48143
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
48144
-
48145
48374
  # The next time when the user will be available, i.e., when their status will be
48146
48375
  # neither InMeeting, CalendarBusy, DoNotDisturb, OutsideWorkingHours, nor
48147
48376
  # OutOfOffice.
@@ -48162,7 +48391,6 @@ module Google
48162
48391
  # Update properties of this object
48163
48392
  def update!(**args)
48164
48393
  @committed_until = args[:committed_until] if args.key?(:committed_until)
48165
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
48166
48394
  @next_available = args[:next_available] if args.key?(:next_available)
48167
48395
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
48168
48396
  end
@@ -48193,12 +48421,6 @@ module Google
48193
48421
  # @return [String]
48194
48422
  attr_accessor :committed_until
48195
48423
 
48196
- # TODO(b/265939748) To be removed, always false.
48197
- # Corresponds to the JSON property `committedUntilIsMixed`
48198
- # @return [Boolean]
48199
- attr_accessor :committed_until_is_mixed
48200
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
48201
-
48202
48424
  # The summary of the corresponding event in Calendar.
48203
48425
  # Corresponds to the JSON property `eventSummary`
48204
48426
  # @return [String]
@@ -48229,7 +48451,6 @@ module Google
48229
48451
  # Update properties of this object
48230
48452
  def update!(**args)
48231
48453
  @committed_until = args[:committed_until] if args.key?(:committed_until)
48232
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
48233
48454
  @event_summary = args[:event_summary] if args.key?(:event_summary)
48234
48455
  @in_meetings_until = args[:in_meetings_until] if args.key?(:in_meetings_until)
48235
48456
  @next_available = args[:next_available] if args.key?(:next_available)
@@ -48332,12 +48553,6 @@ module Google
48332
48553
  # @return [String]
48333
48554
  attr_accessor :committed_until
48334
48555
 
48335
- # TODO(b/265939748) To be removed, always false.
48336
- # Corresponds to the JSON property `committedUntilIsMixed`
48337
- # @return [Boolean]
48338
- attr_accessor :committed_until_is_mixed
48339
- alias_method :committed_until_is_mixed?, :committed_until_is_mixed
48340
-
48341
48556
  # The summary of the corresponding OOO block in Calendar. This is entered by the
48342
48557
  # user, so we return it "as is" - no i18n.
48343
48558
  # Corresponds to the JSON property `eventSummary`
@@ -48352,7 +48567,6 @@ module Google
48352
48567
  def update!(**args)
48353
48568
  @come_back_time = args[:come_back_time] if args.key?(:come_back_time)
48354
48569
  @committed_until = args[:committed_until] if args.key?(:committed_until)
48355
- @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
48356
48570
  @event_summary = args[:event_summary] if args.key?(:event_summary)
48357
48571
  end
48358
48572
  end
@@ -62272,7 +62486,7 @@ module Google
62272
62486
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingModelsRecurrence]
62273
62487
  attr_accessor :recurrence
62274
62488
 
62275
- # Next id: 32
62489
+ # Next id: 33
62276
62490
  # Corresponds to the JSON property `reminder`
62277
62491
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminder]
62278
62492
  attr_accessor :reminder
@@ -88522,7 +88736,7 @@ module Google
88522
88736
  end
88523
88737
  end
88524
88738
 
88525
- # Next id: 32
88739
+ # Next id: 33
88526
88740
  class QualityActionsReminder
88527
88741
  include Google::Apis::Core::Hashable
88528
88742
 
@@ -88640,6 +88854,12 @@ module Google
88640
88854
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminderDynamiteGroup]
88641
88855
  attr_accessor :dynamite_group_assignment_source
88642
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
+
88643
88863
  # DEPRECATED. Use `client_id` or `server_id` instead.
88644
88864
  # Corresponds to the JSON property `id`
88645
88865
  # @return [String]
@@ -88734,6 +88954,7 @@ module Google
88734
88954
  @description = args[:description] if args.key?(:description)
88735
88955
  @document_assignment_source = args[:document_assignment_source] if args.key?(:document_assignment_source)
88736
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)
88737
88958
  @id = args[:id] if args.key?(:id)
88738
88959
  @location = args[:location] if args.key?(:location)
88739
88960
  @log = args[:log] if args.key?(:log)
@@ -91849,10 +92070,7 @@ module Google
91849
92070
  # @return [Array<Fixnum>]
91850
92071
  attr_accessor :scores
91851
92072
 
91852
- # Version 0: Presence of an intent label in the 'intents' field represents our
91853
- # best-effort classification. The 'scores' field is not meaningful. Version 1:
91854
- # Values in the 'scores' field represent the estimated precision of the
91855
- # classifier for a threshold at that score.
92073
+ # DEPRECATED. DO NOT USE IT FOR ANY REASON! contact orbit@ if necessary.
91856
92074
  # Corresponds to the JSON property `version`
91857
92075
  # @return [Fixnum]
91858
92076
  attr_accessor :version
@@ -94275,6 +94493,11 @@ module Google
94275
94493
  # @return [Array<Fixnum>]
94276
94494
  attr_accessor :fingerprint_of_offer_urls
94277
94495
 
94496
+ # Global trade item number (GTIN).
94497
+ # Corresponds to the JSON property `gtinValue`
94498
+ # @return [Array<String>]
94499
+ attr_accessor :gtin_value
94500
+
94278
94501
  # image_id is sorted and distinct for efficient search during serving.
94279
94502
  # Corresponds to the JSON property `imageId`
94280
94503
  # @return [Array<Fixnum>]
@@ -94349,6 +94572,7 @@ module Google
94349
94572
  @condition = args[:condition] if args.key?(:condition)
94350
94573
  @control_type = args[:control_type] if args.key?(:control_type)
94351
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)
94352
94576
  @image_id = args[:image_id] if args.key?(:image_id)
94353
94577
  @inferred_images = args[:inferred_images] if args.key?(:inferred_images)
94354
94578
  @is_lens_buildable = args[:is_lens_buildable] if args.key?(:is_lens_buildable)
@@ -94546,6 +94770,11 @@ module Google
94546
94770
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentPBlock]
94547
94771
  attr_accessor :pblock
94548
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
+
94549
94778
  #
94550
94779
  # Corresponds to the JSON property `productClusterMid`
94551
94780
  # @return [Fixnum]
@@ -94584,6 +94813,7 @@ module Google
94584
94813
  @offer = args[:offer] if args.key?(:offer)
94585
94814
  @outlink_domain_relationship = args[:outlink_domain_relationship] if args.key?(:outlink_domain_relationship)
94586
94815
  @pblock = args[:pblock] if args.key?(:pblock)
94816
+ @product_browseonomy_ids = args[:product_browseonomy_ids] if args.key?(:product_browseonomy_ids)
94587
94817
  @product_cluster_mid = args[:product_cluster_mid] if args.key?(:product_cluster_mid)
94588
94818
  @product_popularity = args[:product_popularity] if args.key?(:product_popularity)
94589
94819
  @relevance_embedding = args[:relevance_embedding] if args.key?(:relevance_embedding)
@@ -104153,6 +104383,52 @@ module Google
104153
104383
  end
104154
104384
  end
104155
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
+
104156
104432
  # Structure to hold the response time for a node. Last used: 3
104157
104433
  class ResearchScamOnlineSearchLatencyStats
104158
104434
  include Google::Apis::Core::Hashable
@@ -104440,6 +104716,14 @@ module Google
104440
104716
  # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScamTokenNamespace>]
104441
104717
  attr_accessor :namespaces
104442
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
+
104443
104727
  def initialize(**args)
104444
104728
  update!(**args)
104445
104729
  end
@@ -104447,6 +104731,7 @@ module Google
104447
104731
  # Update properties of this object
104448
104732
  def update!(**args)
104449
104733
  @namespaces = args[:namespaces] if args.key?(:namespaces)
104734
+ @numeric_namespaces = args[:numeric_namespaces] if args.key?(:numeric_namespaces)
104450
104735
  end
104451
104736
  end
104452
104737
 
@@ -107197,6 +107482,11 @@ module Google
107197
107482
  class ScienceCitationFundingExtractionInfo
107198
107483
  include Google::Apis::Core::Hashable
107199
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
+
107200
107490
  # Text block context from which the funding entry was extracted. Optionally
107201
107491
  # filled and intended to be used for offline analysis.
107202
107492
  # Corresponds to the JSON property `DebugFundingTextBlock`
@@ -107224,6 +107514,7 @@ module Google
107224
107514
 
107225
107515
  # Update properties of this object
107226
107516
  def update!(**args)
107517
+ @cleared_funding = args[:cleared_funding] if args.key?(:cleared_funding)
107227
107518
  @debug_funding_text_block = args[:debug_funding_text_block] if args.key?(:debug_funding_text_block)
107228
107519
  @doc_part = args[:doc_part] if args.key?(:doc_part)
107229
107520
  @parse_section = args[:parse_section] if args.key?(:parse_section)