google-apis-contentwarehouse_v1 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,282 @@ 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
+ # Unique cast app id that identifies a Cast app of the provider.
17970
+ # Corresponds to the JSON property `castAppId`
17971
+ # @return [String]
17972
+ attr_accessor :cast_app_id
17973
+
17974
+ # Version code of the application.
17975
+ # Corresponds to the JSON property `versionCode`
17976
+ # @return [Fixnum]
17977
+ attr_accessor :version_code
17978
+
17979
+ def initialize(**args)
17980
+ update!(**args)
17981
+ end
17982
+
17983
+ # Update properties of this object
17984
+ def update!(**args)
17985
+ @activity_class_name = args[:activity_class_name] if args.key?(:activity_class_name)
17986
+ @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
17987
+ @cast_app_id = args[:cast_app_id] if args.key?(:cast_app_id)
17988
+ @version_code = args[:version_code] if args.key?(:version_code)
17989
+ end
17990
+ end
17991
+
17992
+ # IMPORTANT: This proto is being migrated to ProviderId. If you are adding new
17993
+ # field, please add to ProviderId as well.
17994
+ class AssistantContextMediaProviderId
17995
+ include Google::Apis::Core::Hashable
17996
+
17997
+ # Unique package name that identifies a Android app of the provider.
17998
+ # Corresponds to the JSON property `androidPackageName`
17999
+ # @return [String]
18000
+ attr_accessor :android_package_name
18001
+
18002
+ # Unique app id that identifies a Cast app of the provider.
18003
+ # Corresponds to the JSON property `castAppId`
18004
+ # @return [String]
18005
+ attr_accessor :cast_app_id
18006
+
18007
+ # Unique package name that identifies a ChromeOS app of the provider.
18008
+ # Corresponds to the JSON property `chromeOsPackageName`
18009
+ # @return [String]
18010
+ attr_accessor :chrome_os_package_name
18011
+
18012
+ # Unique package name that identifies a Home app of the provider.
18013
+ # Corresponds to the JSON property `homeAppPackageName`
18014
+ # @return [String]
18015
+ attr_accessor :home_app_package_name
18016
+
18017
+ # Bundle identifier that identifies an iOS app of the provider.
18018
+ # Corresponds to the JSON property `iosBundleIdentifier`
18019
+ # @return [String]
18020
+ attr_accessor :ios_bundle_identifier
18021
+
18022
+ # Unique package name that identifies a KaiOS app of the provider.
18023
+ # Corresponds to the JSON property `kaiOsPackageName`
18024
+ # @return [String]
18025
+ attr_accessor :kai_os_package_name
18026
+
18027
+ # Each onboarded provider has a unique provider key. KG provider keys are string
18028
+ # identifiers used to identify a provider in some Media backends since mids,
18029
+ # names, etc can change.
18030
+ # Corresponds to the JSON property `kgProviderKey`
18031
+ # @return [String]
18032
+ attr_accessor :kg_provider_key
18033
+
18034
+ # The MID of the provider. A MID is a unique identifier issued by Knowledge
18035
+ # Graph for all entities contained in it's graph.
18036
+ # Corresponds to the JSON property `mid`
18037
+ # @return [String]
18038
+ attr_accessor :mid
18039
+
18040
+ # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18041
+ # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18042
+ # end up using surface specific identifiers (e.g. Android package names, iOS
18043
+ # bundle identifiers, etc.) to differentiate amongst them. This field allows us
18044
+ # to move away from surface specific identifiers towards a surface-agnostic enum
18045
+ # representing the same information.
18046
+ # Corresponds to the JSON property `providerVariant`
18047
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderVariant]
18048
+ attr_accessor :provider_variant
18049
+
18050
+ # Bundle id that identifies an Session Initiation Protocol (SIP) provider.
18051
+ # Corresponds to the JSON property `sipProviderId`
18052
+ # @return [String]
18053
+ attr_accessor :sip_provider_id
18054
+
18055
+ def initialize(**args)
18056
+ update!(**args)
18057
+ end
18058
+
18059
+ # Update properties of this object
18060
+ def update!(**args)
18061
+ @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
18062
+ @cast_app_id = args[:cast_app_id] if args.key?(:cast_app_id)
18063
+ @chrome_os_package_name = args[:chrome_os_package_name] if args.key?(:chrome_os_package_name)
18064
+ @home_app_package_name = args[:home_app_package_name] if args.key?(:home_app_package_name)
18065
+ @ios_bundle_identifier = args[:ios_bundle_identifier] if args.key?(:ios_bundle_identifier)
18066
+ @kai_os_package_name = args[:kai_os_package_name] if args.key?(:kai_os_package_name)
18067
+ @kg_provider_key = args[:kg_provider_key] if args.key?(:kg_provider_key)
18068
+ @mid = args[:mid] if args.key?(:mid)
18069
+ @provider_variant = args[:provider_variant] if args.key?(:provider_variant)
18070
+ @sip_provider_id = args[:sip_provider_id] if args.key?(:sip_provider_id)
18071
+ end
18072
+ end
18073
+
18074
+ # Identifier used to represent a single application (a.k.a. provider). This
18075
+ # model represents the surface-agnostic counterpart for assistant.api.core_types.
18076
+ # Provider. E.g. it should avoid directly using package names for Android,
18077
+ # bundle identifiers for iOS, etc. We require the transformation between
18078
+ # assistant.context.ProviderId and assistant.api.core_types.Provider to either
18079
+ # be lossless, or "lossy yet retrievable" (e.g. if package name is not available
18080
+ # in ProviderId, it can still be retrieved using the ProviderMappingsModule).
18081
+ # NOTE: 1. As of May 2021, verticals are highly fragmented in terms of how they
18082
+ # represent/identify a provider, and so we may need to accommodate some vertical-
18083
+ # specific representations. However, these should be generalized as much as
18084
+ # possible so that they can be used by other verticals if needed. 2. If we need
18085
+ # to differentiate between whether a provider is a media provider, app actions
18086
+ # provider, timer provider, etc. we should capture this information in the
18087
+ # context proto that contains a ProviderId field, rather than in the ProviderId
18088
+ # message itself. 3. Any common fields across different provider identifier
18089
+ # representations (e.g. ecosystem type) should be part of assistant.context.
18090
+ # ProviderId directly.
18091
+ class AssistantContextProviderId
18092
+ include Google::Apis::Core::Hashable
18093
+
18094
+ # LINT.IfChanged Identifier for an application provider. NOTE: AppProviderId
18095
+ # contains surface-specific info, such as the Android package name of the
18096
+ # application. This was necessary for supporting current use cases that rely on
18097
+ # surface-specific info in feature code. Eventually we want to deprecate
18098
+ # AppProviderId and fetch surface-specific info in some other way (e.g. in a
18099
+ # surface-translation layer). But until then, we may continue extending
18100
+ # AppProviderId with other surface-specific info.
18101
+ # Corresponds to the JSON property `appProviderId`
18102
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextAppProviderId]
18103
+ attr_accessor :app_provider_id
18104
+
18105
+ # Ecosystem type for this provider.
18106
+ # Corresponds to the JSON property `ecosystemType`
18107
+ # @return [String]
18108
+ attr_accessor :ecosystem_type
18109
+
18110
+ # IMPORTANT: This proto is being migrated to ProviderId. If you are adding new
18111
+ # field, please add to ProviderId as well.
18112
+ # Corresponds to the JSON property `mediaProviderId`
18113
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextMediaProviderId]
18114
+ attr_accessor :media_provider_id
18115
+
18116
+ # The MID of the provider. A MID is a unique identifier issued by Knowledge
18117
+ # Graph for all entities contained in it's graph.
18118
+ # Corresponds to the JSON property `mid`
18119
+ # @return [String]
18120
+ attr_accessor :mid
18121
+
18122
+ # Represents how to naturally identify a provider. A copy of google3/assistant/
18123
+ # serviceengine/proto/serving/natural_provider_id.proto.
18124
+ # Corresponds to the JSON property `naturalProviderId`
18125
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderIdNaturalProviderId]
18126
+ attr_accessor :natural_provider_id
18127
+
18128
+ # ID issued by the Provider Corpus to uniquely identify a provider entity e.g.
18129
+ # an Android app, a Cast app or a Cloud provider. In practice, a single partner
18130
+ # can have multiple providers entities. For more detail, see go/se-storage-
18131
+ # provider-id. This is the preferred/ standardized ID to use for ProviderId that
18132
+ # all use-cases should eventually migrate to.
18133
+ # Corresponds to the JSON property `providerCorpusId`
18134
+ # @return [Fixnum]
18135
+ attr_accessor :provider_corpus_id
18136
+
18137
+ # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18138
+ # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18139
+ # end up using surface specific identifiers (e.g. Android package names, iOS
18140
+ # bundle identifiers, etc.) to differentiate amongst them. This field allows us
18141
+ # to move away from surface specific identifiers towards a surface-agnostic enum
18142
+ # representing the same information.
18143
+ # Corresponds to the JSON property `providerVariant`
18144
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderVariant]
18145
+ attr_accessor :provider_variant
18146
+
18147
+ def initialize(**args)
18148
+ update!(**args)
18149
+ end
18150
+
18151
+ # Update properties of this object
18152
+ def update!(**args)
18153
+ @app_provider_id = args[:app_provider_id] if args.key?(:app_provider_id)
18154
+ @ecosystem_type = args[:ecosystem_type] if args.key?(:ecosystem_type)
18155
+ @media_provider_id = args[:media_provider_id] if args.key?(:media_provider_id)
18156
+ @mid = args[:mid] if args.key?(:mid)
18157
+ @natural_provider_id = args[:natural_provider_id] if args.key?(:natural_provider_id)
18158
+ @provider_corpus_id = args[:provider_corpus_id] if args.key?(:provider_corpus_id)
18159
+ @provider_variant = args[:provider_variant] if args.key?(:provider_variant)
18160
+ end
18161
+ end
18162
+
18163
+ # Represents how to naturally identify a provider. A copy of google3/assistant/
18164
+ # serviceengine/proto/serving/natural_provider_id.proto.
18165
+ class AssistantContextProviderIdNaturalProviderId
18166
+ include Google::Apis::Core::Hashable
18167
+
18168
+ # ProviderType is an enum to represent the category of where this id is from.
18169
+ # Corresponds to the JSON property `providerType`
18170
+ # @return [String]
18171
+ attr_accessor :provider_type
18172
+
18173
+ # String of provider_id_value is the actual value of the id.
18174
+ # Corresponds to the JSON property `value`
18175
+ # @return [String]
18176
+ attr_accessor :value
18177
+
18178
+ def initialize(**args)
18179
+ update!(**args)
18180
+ end
18181
+
18182
+ # Update properties of this object
18183
+ def update!(**args)
18184
+ @provider_type = args[:provider_type] if args.key?(:provider_type)
18185
+ @value = args[:value] if args.key?(:value)
18186
+ end
18187
+ end
18188
+
18189
+ # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18190
+ # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18191
+ # end up using surface specific identifiers (e.g. Android package names, iOS
18192
+ # bundle identifiers, etc.) to differentiate amongst them. This field allows us
18193
+ # to move away from surface specific identifiers towards a surface-agnostic enum
18194
+ # representing the same information.
18195
+ class AssistantContextProviderVariant
18196
+ include Google::Apis::Core::Hashable
18197
+
18198
+ #
18199
+ # Corresponds to the JSON property `emptyMidVariant`
18200
+ # @return [String]
18201
+ attr_accessor :empty_mid_variant
18202
+
18203
+ #
18204
+ # Corresponds to the JSON property `spotifyVariant`
18205
+ # @return [String]
18206
+ attr_accessor :spotify_variant
18207
+
18208
+ #
18209
+ # Corresponds to the JSON property `youtubeVariant`
18210
+ # @return [String]
18211
+ attr_accessor :youtube_variant
18212
+
18213
+ def initialize(**args)
18214
+ update!(**args)
18215
+ end
18216
+
18217
+ # Update properties of this object
18218
+ def update!(**args)
18219
+ @empty_mid_variant = args[:empty_mid_variant] if args.key?(:empty_mid_variant)
18220
+ @spotify_variant = args[:spotify_variant] if args.key?(:spotify_variant)
18221
+ @youtube_variant = args[:youtube_variant] if args.key?(:youtube_variant)
18222
+ end
18223
+ end
18224
+
17787
18225
  # The information associated with an error while selecting the target device.
17788
18226
  # Next ID: 2
17789
18227
  class AssistantDeviceTargetingDeviceTargetingError
@@ -18546,6 +18984,19 @@ module Google
18546
18984
  end
18547
18985
  end
18548
18986
 
18987
+ #
18988
+ class AssistantDevicesPlatformProtoProviderFulfillCapability
18989
+ include Google::Apis::Core::Hashable
18990
+
18991
+ def initialize(**args)
18992
+ update!(**args)
18993
+ end
18994
+
18995
+ # Update properties of this object
18996
+ def update!(**args)
18997
+ end
18998
+ end
18999
+
18549
19000
  #
18550
19001
  class AssistantDevicesPlatformProtoProviderOpenCapability
18551
19002
  include Google::Apis::Core::Hashable
@@ -18701,6 +19152,12 @@ module Google
18701
19152
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaStopCapability]
18702
19153
  attr_accessor :media_stop
18703
19154
 
19155
+ # |provider_fulfill| specifies the support for provider.FULFILL client_op, and
19156
+ # the corresponding provider_fulfill field in assistant.embedded.v1.DeviceOp.
19157
+ # Corresponds to the JSON property `providerFulfill`
19158
+ # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoProviderFulfillCapability]
19159
+ attr_accessor :provider_fulfill
19160
+
18704
19161
  # |provider_open| specifies the support for provider.OPEN client_op, and the
18705
19162
  # corresponding provider_open field in assistant.embedded.v1.DeviceOp.
18706
19163
  # Corresponds to the JSON property `providerOpen`
@@ -18730,6 +19187,7 @@ module Google
18730
19187
  @media_previous = args[:media_previous] if args.key?(:media_previous)
18731
19188
  @media_resume = args[:media_resume] if args.key?(:media_resume)
18732
19189
  @media_stop = args[:media_stop] if args.key?(:media_stop)
19190
+ @provider_fulfill = args[:provider_fulfill] if args.key?(:provider_fulfill)
18733
19191
  @provider_open = args[:provider_open] if args.key?(:provider_open)
18734
19192
  @send_chat_message = args[:send_chat_message] if args.key?(:send_chat_message)
18735
19193
  end
@@ -19059,7 +19517,37 @@ module Google
19059
19517
  end
19060
19518
  end
19061
19519
 
19062
- # Next ID: 4
19520
+ # Features to be extracted from Device GP for ranking in HGR. Next ID: 2
19521
+ class AssistantGroundingRankerDeviceGroundingProviderFeatures
19522
+ include Google::Apis::Core::Hashable
19523
+
19524
+ # LINT.IfChange Specifies identifier of a device AKA surface. Note there may be
19525
+ # multiple device ids for the same physical device E.g. Allo app and Assistant
19526
+ # app on Nexus. Note: DeviceId usage is complicated. Please do not depend on it
19527
+ # for surface specific logic. Please use google3/assistant/api/capabilities.
19528
+ # proto instead. IMPORTANT: When checking for equality between two `DeviceId`s,
19529
+ # you should always use an `isSameDevice`As`` function to check for equality, as
19530
+ # deep equality between `DeviceId`'s is not guaranteed. * C++: http://google3/
19531
+ # assistant/assistant_server/util/device_id_util.cc;l=23;rcl=421295740 * Dart:
19532
+ # http://google3/assistant/context/util/lib/device_id.dart;l=26;rcl=442126145 *
19533
+ # Java: http://google3/java/com/google/assistant/assistantserver/utils/
19534
+ # DeviceIdHelper.java;l=9;rcl=390378522 See http://go/deviceid-equality for more
19535
+ # details. Next ID: 14
19536
+ # Corresponds to the JSON property `deviceId`
19537
+ # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedDeviceId]
19538
+ attr_accessor :device_id
19539
+
19540
+ def initialize(**args)
19541
+ update!(**args)
19542
+ end
19543
+
19544
+ # Update properties of this object
19545
+ def update!(**args)
19546
+ @device_id = args[:device_id] if args.key?(:device_id)
19547
+ end
19548
+ end
19549
+
19550
+ # Next ID: 6
19063
19551
  class AssistantGroundingRankerGroundingProviderFeatures
19064
19552
  include Google::Apis::Core::Hashable
19065
19553
 
@@ -19068,12 +19556,22 @@ module Google
19068
19556
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
19069
19557
  attr_accessor :contact_grounding_provider_features
19070
19558
 
19071
- # Features to be passed from Media GP to HGR. Next ID: 9
19559
+ # Features to be extracted from Device GP for ranking in HGR. Next ID: 2
19560
+ # Corresponds to the JSON property `deviceGroundingProviderFeatures`
19561
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceGroundingProviderFeatures]
19562
+ attr_accessor :device_grounding_provider_features
19563
+
19564
+ # Features to be passed from Media GP to HGR. Next ID: 12
19072
19565
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
19073
19566
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
19074
19567
  attr_accessor :media_grounding_provider_features
19075
19568
 
19076
- # Features to be extracted from Provider GP for ranking in HGR. Next ID: 2
19569
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
19570
+ # Corresponds to the JSON property `podcastGroundingProviderFeatures`
19571
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerPodcastGroundingProviderFeatures]
19572
+ attr_accessor :podcast_grounding_provider_features
19573
+
19574
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 5
19077
19575
  # Corresponds to the JSON property `providerGroundingProviderFeatures`
19078
19576
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerProviderGroundingProviderFeatures]
19079
19577
  attr_accessor :provider_grounding_provider_features
@@ -19085,7 +19583,9 @@ module Google
19085
19583
  # Update properties of this object
19086
19584
  def update!(**args)
19087
19585
  @contact_grounding_provider_features = args[:contact_grounding_provider_features] if args.key?(:contact_grounding_provider_features)
19586
+ @device_grounding_provider_features = args[:device_grounding_provider_features] if args.key?(:device_grounding_provider_features)
19088
19587
  @media_grounding_provider_features = args[:media_grounding_provider_features] if args.key?(:media_grounding_provider_features)
19588
+ @podcast_grounding_provider_features = args[:podcast_grounding_provider_features] if args.key?(:podcast_grounding_provider_features)
19089
19589
  @provider_grounding_provider_features = args[:provider_grounding_provider_features] if args.key?(:provider_grounding_provider_features)
19090
19590
  end
19091
19591
  end
@@ -19209,7 +19709,7 @@ module Google
19209
19709
  end
19210
19710
  end
19211
19711
 
19212
- # Features to be passed from Media GP to HGR. Next ID: 9
19712
+ # Features to be passed from Media GP to HGR. Next ID: 12
19213
19713
  class AssistantGroundingRankerMediaGroundingProviderFeatures
19214
19714
  include Google::Apis::Core::Hashable
19215
19715
 
@@ -19218,6 +19718,11 @@ module Google
19218
19718
  # @return [String]
19219
19719
  attr_accessor :album_release_type
19220
19720
 
19721
+ # Temporary ambiguity classifier signal.
19722
+ # Corresponds to the JSON property `ambiguityClassifier`
19723
+ # @return [String]
19724
+ attr_accessor :ambiguity_classifier
19725
+
19221
19726
  # True if the argument's type was explicitly mentioned in the query.
19222
19727
  # Corresponds to the JSON property `hasTypeSemanticEdge`
19223
19728
  # @return [Boolean]
@@ -19234,6 +19739,12 @@ module Google
19234
19739
  attr_accessor :is_cast_video
19235
19740
  alias_method :is_cast_video?, :is_cast_video
19236
19741
 
19742
+ # True if the media search query is included in the entity name and artists.
19743
+ # Corresponds to the JSON property `isMediaSearchQuerySubsetOfEntityNameAndArtist`
19744
+ # @return [Boolean]
19745
+ attr_accessor :is_media_search_query_subset_of_entity_name_and_artist
19746
+ alias_method :is_media_search_query_subset_of_entity_name_and_artist?, :is_media_search_query_subset_of_entity_name_and_artist
19747
+
19237
19748
  # True if the media deeplink has tag SEED_RADIO.
19238
19749
  # Corresponds to the JSON property `isSeedRadio`
19239
19750
  # @return [Boolean]
@@ -19269,6 +19780,11 @@ module Google
19269
19780
  # @return [String]
19270
19781
  attr_accessor :type
19271
19782
 
19783
+ #
19784
+ # Corresponds to the JSON property `youtubeConfidenceScore`
19785
+ # @return [Float]
19786
+ attr_accessor :youtube_confidence_score
19787
+
19272
19788
  def initialize(**args)
19273
19789
  update!(**args)
19274
19790
  end
@@ -19276,20 +19792,77 @@ module Google
19276
19792
  # Update properties of this object
19277
19793
  def update!(**args)
19278
19794
  @album_release_type = args[:album_release_type] if args.key?(:album_release_type)
19795
+ @ambiguity_classifier = args[:ambiguity_classifier] if args.key?(:ambiguity_classifier)
19279
19796
  @has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
19280
19797
  @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
19798
+ @is_media_search_query_subset_of_entity_name_and_artist = args[:is_media_search_query_subset_of_entity_name_and_artist] if args.key?(:is_media_search_query_subset_of_entity_name_and_artist)
19281
19799
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
19282
19800
  @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
19283
19801
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
19284
19802
  @scubed_p_sai_music = args[:scubed_p_sai_music] if args.key?(:scubed_p_sai_music)
19285
19803
  @type = args[:type] if args.key?(:type)
19804
+ @youtube_confidence_score = args[:youtube_confidence_score] if args.key?(:youtube_confidence_score)
19805
+ end
19806
+ end
19807
+
19808
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
19809
+ class AssistantGroundingRankerPodcastGroundingProviderFeatures
19810
+ include Google::Apis::Core::Hashable
19811
+
19812
+ # Whether the podcast is exclusive to a provider a not.
19813
+ # Corresponds to the JSON property `isExclusive`
19814
+ # @return [Boolean]
19815
+ attr_accessor :is_exclusive
19816
+ alias_method :is_exclusive?, :is_exclusive
19817
+
19818
+ def initialize(**args)
19819
+ update!(**args)
19820
+ end
19821
+
19822
+ # Update properties of this object
19823
+ def update!(**args)
19824
+ @is_exclusive = args[:is_exclusive] if args.key?(:is_exclusive)
19286
19825
  end
19287
19826
  end
19288
19827
 
19289
- # Features to be extracted from Provider GP for ranking in HGR. Next ID: 2
19828
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 5
19290
19829
  class AssistantGroundingRankerProviderGroundingProviderFeatures
19291
19830
  include Google::Apis::Core::Hashable
19292
19831
 
19832
+ # Indicates that fulfillment on this provider will happen within the provider
19833
+ # app.
19834
+ # Corresponds to the JSON property `isInAppProvider`
19835
+ # @return [Boolean]
19836
+ attr_accessor :is_in_app_provider
19837
+ alias_method :is_in_app_provider?, :is_in_app_provider
19838
+
19839
+ # Cluster IDs for the provider. This field is repeated because some providers
19840
+ # can be associated with multiple clusters. PRR specific feature.
19841
+ # Corresponds to the JSON property `providerClusterId`
19842
+ # @return [Array<String>]
19843
+ attr_accessor :provider_cluster_id
19844
+
19845
+ # Identifier used to represent a single application (a.k.a. provider). This
19846
+ # model represents the surface-agnostic counterpart for assistant.api.core_types.
19847
+ # Provider. E.g. it should avoid directly using package names for Android,
19848
+ # bundle identifiers for iOS, etc. We require the transformation between
19849
+ # assistant.context.ProviderId and assistant.api.core_types.Provider to either
19850
+ # be lossless, or "lossy yet retrievable" (e.g. if package name is not available
19851
+ # in ProviderId, it can still be retrieved using the ProviderMappingsModule).
19852
+ # NOTE: 1. As of May 2021, verticals are highly fragmented in terms of how they
19853
+ # represent/identify a provider, and so we may need to accommodate some vertical-
19854
+ # specific representations. However, these should be generalized as much as
19855
+ # possible so that they can be used by other verticals if needed. 2. If we need
19856
+ # to differentiate between whether a provider is a media provider, app actions
19857
+ # provider, timer provider, etc. we should capture this information in the
19858
+ # context proto that contains a ProviderId field, rather than in the ProviderId
19859
+ # message itself. 3. Any common fields across different provider identifier
19860
+ # representations (e.g. ecosystem type) should be part of assistant.context.
19861
+ # ProviderId directly.
19862
+ # Corresponds to the JSON property `providerId`
19863
+ # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderId]
19864
+ attr_accessor :provider_id
19865
+
19293
19866
  # Provider quality score in the range [0,1] that can be used for ranking
19294
19867
  # providers. Incorporates both policy rules and quality considerations.
19295
19868
  # Corresponds to the JSON property `pslScore`
@@ -19302,6 +19875,9 @@ module Google
19302
19875
 
19303
19876
  # Update properties of this object
19304
19877
  def update!(**args)
19878
+ @is_in_app_provider = args[:is_in_app_provider] if args.key?(:is_in_app_provider)
19879
+ @provider_cluster_id = args[:provider_cluster_id] if args.key?(:provider_cluster_id)
19880
+ @provider_id = args[:provider_id] if args.key?(:provider_id)
19305
19881
  @psl_score = args[:psl_score] if args.key?(:psl_score)
19306
19882
  end
19307
19883
  end
@@ -19574,7 +20150,7 @@ module Google
19574
20150
  # Contact owner's gaia id from cs/symbol::symbol:quality_qrewrite.
19575
20151
  # PersonalContactData.shared_contact_owner_gaia_id. Only populated for is_shared
19576
20152
  # = true and non sign-out mode and user is not the owner of the contact(shared
19577
- # contact from other user).
20153
+ # contact from other user). This field is not being logged in P2.
19578
20154
  # Corresponds to the JSON property `gaiaId`
19579
20155
  # @return [Fixnum]
19580
20156
  attr_accessor :gaia_id
@@ -19588,7 +20164,8 @@ module Google
19588
20164
 
19589
20165
  # If this is a shared contact. This is true in 2 cases: - User is calling their
19590
20166
  # own contacts that have been marked as shared. - User is calling shared
19591
- # contacts from some other user's contact list.
20167
+ # contacts from some other user's contact list. This field is not being logged
20168
+ # in P2.
19592
20169
  # Corresponds to the JSON property `isShared`
19593
20170
  # @return [Boolean]
19594
20171
  attr_accessor :is_shared
@@ -20921,7 +21498,7 @@ module Google
20921
21498
 
20922
21499
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20923
21500
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20924
- # Next ID: 47
21501
+ # Next ID: 48
20925
21502
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20926
21503
  include Google::Apis::Core::Hashable
20927
21504
 
@@ -20973,7 +21550,7 @@ module Google
20973
21550
  # @return [Float]
20974
21551
  attr_accessor :groundability_score
20975
21552
 
20976
- # Next ID: 4
21553
+ # Next ID: 6
20977
21554
  # Corresponds to the JSON property `groundingProviderFeatures`
20978
21555
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
20979
21556
  attr_accessor :grounding_provider_features
@@ -21149,6 +21726,14 @@ module Google
21149
21726
  # @return [String]
21150
21727
  attr_accessor :search_dispatch
21151
21728
 
21729
+ # sub_intent_type differentiates between intents that share the top level intent
21730
+ # name. For eg: for TV_FALLBACK_SEARCH_INTENT, the top level intent name must be
21731
+ # "Find_media" and the media_object argument within it must be of type "
21732
+ # Media_unspecified".
21733
+ # Corresponds to the JSON property `subIntentType`
21734
+ # @return [String]
21735
+ attr_accessor :sub_intent_type
21736
+
21152
21737
  # Average of per-word confidence for top speech recognition hypothesis. The
21153
21738
  # value is from RecognizerHypothesisLog: http://google3/logs/proto/speech/
21154
21739
  # service/recognizer_log.proto?l=848&rcl=281400256
@@ -21205,6 +21790,7 @@ module Google
21205
21790
  @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
21206
21791
  @ranker_name = args[:ranker_name] if args.key?(:ranker_name)
21207
21792
  @search_dispatch = args[:search_dispatch] if args.key?(:search_dispatch)
21793
+ @sub_intent_type = args[:sub_intent_type] if args.key?(:sub_intent_type)
21208
21794
  @top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
21209
21795
  @vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
21210
21796
  end
@@ -23504,6 +24090,11 @@ module Google
23504
24090
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornQueryClassifierOutput]
23505
24091
  attr_accessor :medical
23506
24092
 
24093
+ # Generic output for one vertical.
24094
+ # Corresponds to the JSON property `minor`
24095
+ # @return [Google::Apis::ContentwarehouseV1::ClassifierPornQueryClassifierOutput]
24096
+ attr_accessor :minor
24097
+
23507
24098
  # Generic output for one vertical.
23508
24099
  # Corresponds to the JSON property `offensive`
23509
24100
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornQueryClassifierOutput]
@@ -23538,6 +24129,7 @@ module Google
23538
24129
  @csai = args[:csai] if args.key?(:csai)
23539
24130
  @fringe = args[:fringe] if args.key?(:fringe)
23540
24131
  @medical = args[:medical] if args.key?(:medical)
24132
+ @minor = args[:minor] if args.key?(:minor)
23541
24133
  @offensive = args[:offensive] if args.key?(:offensive)
23542
24134
  @porn = args[:porn] if args.key?(:porn)
23543
24135
  @spoof = args[:spoof] if args.key?(:spoof)
@@ -23756,6 +24348,461 @@ module Google
23756
24348
  end
23757
24349
  end
23758
24350
 
24351
+ # The identity to configure a CloudSQL instance provisioned via SLM Terraform.
24352
+ class CloudAiPlatformTenantresourceCloudSqlInstanceConfig
24353
+ include Google::Apis::Core::Hashable
24354
+
24355
+ # Output only. The CloudSQL instance connection name.
24356
+ # Corresponds to the JSON property `cloudSqlInstanceConnectionName`
24357
+ # @return [String]
24358
+ attr_accessor :cloud_sql_instance_connection_name
24359
+
24360
+ # Input/Output [Optional]. The CloudSQL instance name within SLM instance. If
24361
+ # not set, a random UUIC will be generated as instance name.
24362
+ # Corresponds to the JSON property `cloudSqlInstanceName`
24363
+ # @return [String]
24364
+ attr_accessor :cloud_sql_instance_name
24365
+
24366
+ # Input [Optional]. The KMS key name or the KMS grant name used for CMEK
24367
+ # encryption. Only set this field when provisioning new CloudSQL instances. For
24368
+ # existing CloudSQL instances, this field will be ignored because CMEK re-
24369
+ # encryption is not supported.
24370
+ # Corresponds to the JSON property `kmsKeyReference`
24371
+ # @return [String]
24372
+ attr_accessor :kms_key_reference
24373
+
24374
+ # Input [Optional]. MDB roles for corp access to CloudSQL instance.
24375
+ # Corresponds to the JSON property `mdbRolesForCorpAccess`
24376
+ # @return [Array<String>]
24377
+ attr_accessor :mdb_roles_for_corp_access
24378
+
24379
+ # Output only. The SLM instance's full resource name.
24380
+ # Corresponds to the JSON property `slmInstanceName`
24381
+ # @return [String]
24382
+ attr_accessor :slm_instance_name
24383
+
24384
+ # Input [Required]. The SLM instance template to provision CloudSQL.
24385
+ # Corresponds to the JSON property `slmInstanceTemplate`
24386
+ # @return [String]
24387
+ attr_accessor :slm_instance_template
24388
+
24389
+ # Input [Required]. The SLM instance type to provision CloudSQL.
24390
+ # Corresponds to the JSON property `slmInstanceType`
24391
+ # @return [String]
24392
+ attr_accessor :slm_instance_type
24393
+
24394
+ def initialize(**args)
24395
+ update!(**args)
24396
+ end
24397
+
24398
+ # Update properties of this object
24399
+ def update!(**args)
24400
+ @cloud_sql_instance_connection_name = args[:cloud_sql_instance_connection_name] if args.key?(:cloud_sql_instance_connection_name)
24401
+ @cloud_sql_instance_name = args[:cloud_sql_instance_name] if args.key?(:cloud_sql_instance_name)
24402
+ @kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference)
24403
+ @mdb_roles_for_corp_access = args[:mdb_roles_for_corp_access] if args.key?(:mdb_roles_for_corp_access)
24404
+ @slm_instance_name = args[:slm_instance_name] if args.key?(:slm_instance_name)
24405
+ @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
24406
+ @slm_instance_type = args[:slm_instance_type] if args.key?(:slm_instance_type)
24407
+ end
24408
+ end
24409
+
24410
+ # The identity to configure a GCS bucket.
24411
+ class CloudAiPlatformTenantresourceGcsBucketConfig
24412
+ include Google::Apis::Core::Hashable
24413
+
24414
+ #
24415
+ # Corresponds to the JSON property `admins`
24416
+ # @return [Array<String>]
24417
+ attr_accessor :admins
24418
+
24419
+ # Input/Output [Optional]. The name of a GCS bucket with max length of 63 chars.
24420
+ # If not set, a random UUID will be generated as bucket name.
24421
+ # Corresponds to the JSON property `bucketName`
24422
+ # @return [String]
24423
+ attr_accessor :bucket_name
24424
+
24425
+ # Input/Output [Optional]. Only needed for per-entity tenant GCP resources.
24426
+ # During Deprovision API, the on-demand deletion will only cover the tenant GCP
24427
+ # resources with the specified entity name.
24428
+ # Corresponds to the JSON property `entityName`
24429
+ # @return [String]
24430
+ attr_accessor :entity_name
24431
+
24432
+ # Input/Output [Optional]. The KMS key name or the KMS grant name used for CMEK
24433
+ # encryption. Only set this field when provisioning new GCS bucket. For existing
24434
+ # GCS bucket, this field will be ignored because CMEK re-encryption is not
24435
+ # supported.
24436
+ # Corresponds to the JSON property `kmsKeyReference`
24437
+ # @return [String]
24438
+ attr_accessor :kms_key_reference
24439
+
24440
+ # Input/Output [Optional]. Only needed when the content in bucket need to be
24441
+ # garbage collected within some amount of days.
24442
+ # Corresponds to the JSON property `ttlDays`
24443
+ # @return [Fixnum]
24444
+ attr_accessor :ttl_days
24445
+
24446
+ # Input/Output [Required]. IAM roles (viewer/admin) put on the bucket.
24447
+ # Corresponds to the JSON property `viewers`
24448
+ # @return [Array<String>]
24449
+ attr_accessor :viewers
24450
+
24451
+ def initialize(**args)
24452
+ update!(**args)
24453
+ end
24454
+
24455
+ # Update properties of this object
24456
+ def update!(**args)
24457
+ @admins = args[:admins] if args.key?(:admins)
24458
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
24459
+ @entity_name = args[:entity_name] if args.key?(:entity_name)
24460
+ @kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference)
24461
+ @ttl_days = args[:ttl_days] if args.key?(:ttl_days)
24462
+ @viewers = args[:viewers] if args.key?(:viewers)
24463
+ end
24464
+ end
24465
+
24466
+ # The dynamic IAM bindings to be granted after tenant projects are created.
24467
+ class CloudAiPlatformTenantresourceIamPolicyBinding
24468
+ include Google::Apis::Core::Hashable
24469
+
24470
+ # Input/Output [Required]. The member service accounts with the roles above.
24471
+ # Note: placeholders are same as the resource above.
24472
+ # Corresponds to the JSON property `members`
24473
+ # @return [Array<String>]
24474
+ attr_accessor :members
24475
+
24476
+ # Input/Output [Required]. The resource name that will be accessed by members,
24477
+ # which also depends on resource_type. Note: placeholders are supported in
24478
+ # resource names. For example, $`tpn` will be used when the tenant project
24479
+ # number is not ready.
24480
+ # Corresponds to the JSON property `resource`
24481
+ # @return [String]
24482
+ attr_accessor :resource
24483
+
24484
+ # Input/Output [Required]. Specifies the type of resource that will be accessed
24485
+ # by members.
24486
+ # Corresponds to the JSON property `resourceType`
24487
+ # @return [String]
24488
+ attr_accessor :resource_type
24489
+
24490
+ # Input/Output [Required]. The role for members below.
24491
+ # Corresponds to the JSON property `role`
24492
+ # @return [String]
24493
+ attr_accessor :role
24494
+
24495
+ def initialize(**args)
24496
+ update!(**args)
24497
+ end
24498
+
24499
+ # Update properties of this object
24500
+ def update!(**args)
24501
+ @members = args[:members] if args.key?(:members)
24502
+ @resource = args[:resource] if args.key?(:resource)
24503
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
24504
+ @role = args[:role] if args.key?(:role)
24505
+ end
24506
+ end
24507
+
24508
+ # The configuration for a spanner database provisioning. Next ID: 8
24509
+ class CloudAiPlatformTenantresourceInfraSpannerConfig
24510
+ include Google::Apis::Core::Hashable
24511
+
24512
+ # The options to create a spanner database. KMS key access audit logging and AxT
24513
+ # logging will be associated with the given resource name, resource type and
24514
+ # service name. Please ensure to give right options to enable correct audit
24515
+ # logging and AxT logging.
24516
+ # Corresponds to the JSON property `createDatabaseOptions`
24517
+ # @return [Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions]
24518
+ attr_accessor :create_database_options
24519
+
24520
+ # Input [Optional]. The KMS key name or the KMS grant name used for CMEK
24521
+ # encryption. Only set this field when provisioning new Infra Spanner databases.
24522
+ # For existing Infra Spanner databases, this field will be ignored because CMEK
24523
+ # re-encryption is not supported. For example, projects//locations//keyRings//
24524
+ # cryptoKeys/
24525
+ # Corresponds to the JSON property `kmsKeyReference`
24526
+ # @return [String]
24527
+ attr_accessor :kms_key_reference
24528
+
24529
+ # Input [Required]. The file path to the spanner SDL bundle.
24530
+ # Corresponds to the JSON property `sdlBundlePath`
24531
+ # @return [String]
24532
+ attr_accessor :sdl_bundle_path
24533
+
24534
+ # Input [Optional]. The spanner borg service account for delegating the kms key
24535
+ # to. For example, spanner-infra-cmek-nonprod@system.gserviceaccount.com, for
24536
+ # the nonprod universe.
24537
+ # Corresponds to the JSON property `spannerBorgServiceAccount`
24538
+ # @return [String]
24539
+ attr_accessor :spanner_borg_service_account
24540
+
24541
+ #
24542
+ # Corresponds to the JSON property `spannerLocalNamePrefix`
24543
+ # @return [String]
24544
+ attr_accessor :spanner_local_name_prefix
24545
+
24546
+ #
24547
+ # Corresponds to the JSON property `spannerNamespace`
24548
+ # @return [String]
24549
+ attr_accessor :spanner_namespace
24550
+
24551
+ # Input [Required]. Every database in Spanner can be identified by the following
24552
+ # path name: /span//:
24553
+ # Corresponds to the JSON property `spannerUniverse`
24554
+ # @return [String]
24555
+ attr_accessor :spanner_universe
24556
+
24557
+ def initialize(**args)
24558
+ update!(**args)
24559
+ end
24560
+
24561
+ # Update properties of this object
24562
+ def update!(**args)
24563
+ @create_database_options = args[:create_database_options] if args.key?(:create_database_options)
24564
+ @kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference)
24565
+ @sdl_bundle_path = args[:sdl_bundle_path] if args.key?(:sdl_bundle_path)
24566
+ @spanner_borg_service_account = args[:spanner_borg_service_account] if args.key?(:spanner_borg_service_account)
24567
+ @spanner_local_name_prefix = args[:spanner_local_name_prefix] if args.key?(:spanner_local_name_prefix)
24568
+ @spanner_namespace = args[:spanner_namespace] if args.key?(:spanner_namespace)
24569
+ @spanner_universe = args[:spanner_universe] if args.key?(:spanner_universe)
24570
+ end
24571
+ end
24572
+
24573
+ # The options to create a spanner database. KMS key access audit logging and AxT
24574
+ # logging will be associated with the given resource name, resource type and
24575
+ # service name. Please ensure to give right options to enable correct audit
24576
+ # logging and AxT logging.
24577
+ class CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions
24578
+ include Google::Apis::Core::Hashable
24579
+
24580
+ # The cloud resource name for the CMEK encryption. For example, projects//
24581
+ # locations/
24582
+ # Corresponds to the JSON property `cmekCloudResourceName`
24583
+ # @return [String]
24584
+ attr_accessor :cmek_cloud_resource_name
24585
+
24586
+ # The cloud resource type for the CMEK encryption. For example, contentwarehouse.
24587
+ # googleapis.com/Location
24588
+ # Corresponds to the JSON property `cmekCloudResourceType`
24589
+ # @return [String]
24590
+ attr_accessor :cmek_cloud_resource_type
24591
+
24592
+ # The service name for the CMEK encryption. For example, contentwarehouse.
24593
+ # googleapis.com
24594
+ # Corresponds to the JSON property `cmekServiceName`
24595
+ # @return [String]
24596
+ attr_accessor :cmek_service_name
24597
+
24598
+ def initialize(**args)
24599
+ update!(**args)
24600
+ end
24601
+
24602
+ # Update properties of this object
24603
+ def update!(**args)
24604
+ @cmek_cloud_resource_name = args[:cmek_cloud_resource_name] if args.key?(:cmek_cloud_resource_name)
24605
+ @cmek_cloud_resource_type = args[:cmek_cloud_resource_type] if args.key?(:cmek_cloud_resource_type)
24606
+ @cmek_service_name = args[:cmek_service_name] if args.key?(:cmek_service_name)
24607
+ end
24608
+ end
24609
+
24610
+ # The identity to configure a service account.
24611
+ class CloudAiPlatformTenantresourceServiceAccountIdentity
24612
+ include Google::Apis::Core::Hashable
24613
+
24614
+ # Output only. The service account email that has been created.
24615
+ # Corresponds to the JSON property `serviceAccountEmail`
24616
+ # @return [String]
24617
+ attr_accessor :service_account_email
24618
+
24619
+ # Input/Output [Optional]. The tag that configures the service account, as
24620
+ # defined in google3/configs/production/cdpush/acl-zanzibar-cloud-prod/
24621
+ # activation_grants/activation_grants.gcl. Note: The default P4 service account
24622
+ # has the empty tag.
24623
+ # Corresponds to the JSON property `tag`
24624
+ # @return [String]
24625
+ attr_accessor :tag
24626
+
24627
+ def initialize(**args)
24628
+ update!(**args)
24629
+ end
24630
+
24631
+ # Update properties of this object
24632
+ def update!(**args)
24633
+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
24634
+ @tag = args[:tag] if args.key?(:tag)
24635
+ end
24636
+ end
24637
+
24638
+ # The identity to configure a tenant project.
24639
+ class CloudAiPlatformTenantresourceTenantProjectConfig
24640
+ include Google::Apis::Core::Hashable
24641
+
24642
+ # Describes the billing configuration for a new tenant project.
24643
+ # Corresponds to the JSON property `billingConfig`
24644
+ # @return [Google::Apis::ContentwarehouseV1::GoogleApiServiceconsumermanagementV1BillingConfig]
24645
+ attr_accessor :billing_config
24646
+
24647
+ # Input/Output [Required]. The folder that holds tenant projects and folder-
24648
+ # level permissions will be automatically granted to all tenant projects under
24649
+ # the folder. Note: the valid folder format is `folders/`folder_number``.
24650
+ # Corresponds to the JSON property `folder`
24651
+ # @return [String]
24652
+ attr_accessor :folder
24653
+
24654
+ # Input/Output [Required]. The policy bindings that are applied to the tenant
24655
+ # project during creation. At least one binding must have the role `roles/owner`
24656
+ # with either `user` or `group` type.
24657
+ # Corresponds to the JSON property `policyBindings`
24658
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleApiServiceconsumermanagementV1PolicyBinding>]
24659
+ attr_accessor :policy_bindings
24660
+
24661
+ # Input/Output [Required]. The API services that are enabled on the tenant
24662
+ # project during creation.
24663
+ # Corresponds to the JSON property `services`
24664
+ # @return [Array<String>]
24665
+ attr_accessor :services
24666
+
24667
+ def initialize(**args)
24668
+ update!(**args)
24669
+ end
24670
+
24671
+ # Update properties of this object
24672
+ def update!(**args)
24673
+ @billing_config = args[:billing_config] if args.key?(:billing_config)
24674
+ @folder = args[:folder] if args.key?(:folder)
24675
+ @policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
24676
+ @services = args[:services] if args.key?(:services)
24677
+ end
24678
+ end
24679
+
24680
+ # The tenant project and tenant resources. Next ID: 10
24681
+ class CloudAiPlatformTenantresourceTenantProjectResource
24682
+ include Google::Apis::Core::Hashable
24683
+
24684
+ # The CloudSQL instances that are provisioned under the tenant project.
24685
+ # Corresponds to the JSON property `cloudSqlInstances`
24686
+ # @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceCloudSqlInstanceConfig>]
24687
+ attr_accessor :cloud_sql_instances
24688
+
24689
+ # The GCS buckets that are provisioned under the tenant project.
24690
+ # Corresponds to the JSON property `gcsBuckets`
24691
+ # @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceGcsBucketConfig>]
24692
+ attr_accessor :gcs_buckets
24693
+
24694
+ # The dynamic IAM bindings that are granted under the tenant project. Note: this
24695
+ # should only add new bindings to the project if they don't exist and the
24696
+ # existing bindings won't be affected.
24697
+ # Corresponds to the JSON property `iamPolicyBindings`
24698
+ # @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceIamPolicyBinding>]
24699
+ attr_accessor :iam_policy_bindings
24700
+
24701
+ # The Infra Spanner databases that are provisioned under the tenant project.
24702
+ # Note: this is an experimental feature.
24703
+ # Corresponds to the JSON property `infraSpannerConfigs`
24704
+ # @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceInfraSpannerConfig>]
24705
+ attr_accessor :infra_spanner_configs
24706
+
24707
+ # Input/Output [Required]. The tag that uniquely identifies a tenant project
24708
+ # within a tenancy unit. Note: for the same tenant project tag, all tenant
24709
+ # manager operations should be idempotent.
24710
+ # Corresponds to the JSON property `tag`
24711
+ # @return [String]
24712
+ attr_accessor :tag
24713
+
24714
+ # The identity to configure a tenant project.
24715
+ # Corresponds to the JSON property `tenantProjectConfig`
24716
+ # @return [Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantProjectConfig]
24717
+ attr_accessor :tenant_project_config
24718
+
24719
+ # Output only. The tenant project ID that has been created.
24720
+ # Corresponds to the JSON property `tenantProjectId`
24721
+ # @return [String]
24722
+ attr_accessor :tenant_project_id
24723
+
24724
+ # Output only. The tenant project number that has been created.
24725
+ # Corresponds to the JSON property `tenantProjectNumber`
24726
+ # @return [Fixnum]
24727
+ attr_accessor :tenant_project_number
24728
+
24729
+ # The service account identities (or enabled API service's P4SA) that are
24730
+ # expclicitly created under the tenant project (before JIT provisioning during
24731
+ # enabled API services).
24732
+ # Corresponds to the JSON property `tenantServiceAccounts`
24733
+ # @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantServiceAccountIdentity>]
24734
+ attr_accessor :tenant_service_accounts
24735
+
24736
+ def initialize(**args)
24737
+ update!(**args)
24738
+ end
24739
+
24740
+ # Update properties of this object
24741
+ def update!(**args)
24742
+ @cloud_sql_instances = args[:cloud_sql_instances] if args.key?(:cloud_sql_instances)
24743
+ @gcs_buckets = args[:gcs_buckets] if args.key?(:gcs_buckets)
24744
+ @iam_policy_bindings = args[:iam_policy_bindings] if args.key?(:iam_policy_bindings)
24745
+ @infra_spanner_configs = args[:infra_spanner_configs] if args.key?(:infra_spanner_configs)
24746
+ @tag = args[:tag] if args.key?(:tag)
24747
+ @tenant_project_config = args[:tenant_project_config] if args.key?(:tenant_project_config)
24748
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
24749
+ @tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
24750
+ @tenant_service_accounts = args[:tenant_service_accounts] if args.key?(:tenant_service_accounts)
24751
+ end
24752
+ end
24753
+
24754
+ # A collection of tenant resources.
24755
+ class CloudAiPlatformTenantresourceTenantResource
24756
+ include Google::Apis::Core::Hashable
24757
+
24758
+ # A list of P4 service accounts (go/p4sa) to provision or deprovision.
24759
+ # Corresponds to the JSON property `p4ServiceAccounts`
24760
+ # @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceServiceAccountIdentity>]
24761
+ attr_accessor :p4_service_accounts
24762
+
24763
+ # A list of tenant projects and tenant resources to provision or deprovision.
24764
+ # Corresponds to the JSON property `tenantProjectResources`
24765
+ # @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantProjectResource>]
24766
+ attr_accessor :tenant_project_resources
24767
+
24768
+ def initialize(**args)
24769
+ update!(**args)
24770
+ end
24771
+
24772
+ # Update properties of this object
24773
+ def update!(**args)
24774
+ @p4_service_accounts = args[:p4_service_accounts] if args.key?(:p4_service_accounts)
24775
+ @tenant_project_resources = args[:tenant_project_resources] if args.key?(:tenant_project_resources)
24776
+ end
24777
+ end
24778
+
24779
+ # The identity of service accounts that have been explicitly created under
24780
+ # tenant projects.
24781
+ class CloudAiPlatformTenantresourceTenantServiceAccountIdentity
24782
+ include Google::Apis::Core::Hashable
24783
+
24784
+ # Output only. The email address of the generated service account.
24785
+ # Corresponds to the JSON property `serviceAccountEmail`
24786
+ # @return [String]
24787
+ attr_accessor :service_account_email
24788
+
24789
+ # Input/Output [Required]. The service that the service account belongs to. (e.g.
24790
+ # cloudbuild.googleapis.com for GCB service accounts)
24791
+ # Corresponds to the JSON property `serviceName`
24792
+ # @return [String]
24793
+ attr_accessor :service_name
24794
+
24795
+ def initialize(**args)
24796
+ update!(**args)
24797
+ end
24798
+
24799
+ # Update properties of this object
24800
+ def update!(**args)
24801
+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
24802
+ @service_name = args[:service_name] if args.key?(:service_name)
24803
+ end
24804
+ end
24805
+
23759
24806
  # The basic message that contains a single decision output of go/deeptagger.
23760
24807
  class CommerceDatastoreDeepTag
23761
24808
  include Google::Apis::Core::Hashable
@@ -24088,7 +25135,7 @@ module Google
24088
25135
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
24089
25136
  # available tag deprecated, use this (and look for commented out fields): blaze-
24090
25137
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
24091
- # perdocdata.proto Next tag: 220
25138
+ # perdocdata.proto Next tag: 221
24092
25139
  # Corresponds to the JSON property `perDocData`
24093
25140
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
24094
25141
  attr_accessor :per_doc_data
@@ -24452,7 +25499,7 @@ module Google
24452
25499
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
24453
25500
  # available tag deprecated, use this (and look for commented out fields): blaze-
24454
25501
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
24455
- # perdocdata.proto Next tag: 220
25502
+ # perdocdata.proto Next tag: 221
24456
25503
  # Corresponds to the JSON property `perDocData`
24457
25504
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
24458
25505
  attr_accessor :per_doc_data
@@ -26922,6 +27969,43 @@ module Google
26922
27969
  end
26923
27970
  end
26924
27971
 
27972
+ # Protocol buffer for storing compressed feature.
27973
+ class DrishtiCompressedFeature
27974
+ include Google::Apis::Core::Hashable
27975
+
27976
+ #
27977
+ # Corresponds to the JSON property `featureName`
27978
+ # @return [String]
27979
+ attr_accessor :feature_name
27980
+
27981
+ # in_range_bitstream is the string produced by range coder, while
27982
+ # out_of_range_bitstream corresponds to the overflow stream, which is used
27983
+ # whenever a quantized value is out of range. See https://cs.corp.google.com/
27984
+ # piper///depot/google3/research/vision/piedpiper/brain/python/layers/
27985
+ # entropy_models.py?l=225&cl=234825412
27986
+ # Corresponds to the JSON property `inRangeBitstream`
27987
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
27988
+ # @return [String]
27989
+ attr_accessor :in_range_bitstream
27990
+
27991
+ #
27992
+ # Corresponds to the JSON property `outOfRangeBitstream`
27993
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
27994
+ # @return [String]
27995
+ attr_accessor :out_of_range_bitstream
27996
+
27997
+ def initialize(**args)
27998
+ update!(**args)
27999
+ end
28000
+
28001
+ # Update properties of this object
28002
+ def update!(**args)
28003
+ @feature_name = args[:feature_name] if args.key?(:feature_name)
28004
+ @in_range_bitstream = args[:in_range_bitstream] if args.key?(:in_range_bitstream)
28005
+ @out_of_range_bitstream = args[:out_of_range_bitstream] if args.key?(:out_of_range_bitstream)
28006
+ end
28007
+ end
28008
+
26925
28009
  #
26926
28010
  class DrishtiDenseFeatureData
26927
28011
  include Google::Apis::Core::Hashable
@@ -27005,6 +28089,11 @@ module Google
27005
28089
  class DrishtiFeatureSetDataFeatureSetElement
27006
28090
  include Google::Apis::Core::Hashable
27007
28091
 
28092
+ # Protocol buffer for storing compressed feature.
28093
+ # Corresponds to the JSON property `compressed`
28094
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiCompressedFeature]
28095
+ attr_accessor :compressed
28096
+
27008
28097
  #
27009
28098
  # Corresponds to the JSON property `dense`
27010
28099
  # @return [Google::Apis::ContentwarehouseV1::DrishtiDenseFeatureData]
@@ -27046,6 +28135,7 @@ module Google
27046
28135
 
27047
28136
  # Update properties of this object
27048
28137
  def update!(**args)
28138
+ @compressed = args[:compressed] if args.key?(:compressed)
27049
28139
  @dense = args[:dense] if args.key?(:dense)
27050
28140
  @indexed = args[:indexed] if args.key?(:indexed)
27051
28141
  @name = args[:name] if args.key?(:name)
@@ -41979,6 +43069,54 @@ module Google
41979
43069
  end
41980
43070
  end
41981
43071
 
43072
+ # Describes the billing configuration for a new tenant project.
43073
+ class GoogleApiServiceconsumermanagementV1BillingConfig
43074
+ include Google::Apis::Core::Hashable
43075
+
43076
+ # Name of the billing account. For example `billingAccounts/012345-567890-ABCDEF`
43077
+ # .
43078
+ # Corresponds to the JSON property `billingAccount`
43079
+ # @return [String]
43080
+ attr_accessor :billing_account
43081
+
43082
+ def initialize(**args)
43083
+ update!(**args)
43084
+ end
43085
+
43086
+ # Update properties of this object
43087
+ def update!(**args)
43088
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
43089
+ end
43090
+ end
43091
+
43092
+ # Translates to IAM Policy bindings (without auditing at this level)
43093
+ class GoogleApiServiceconsumermanagementV1PolicyBinding
43094
+ include Google::Apis::Core::Hashable
43095
+
43096
+ # Uses the same format as in IAM policy. `member` must include both a prefix and
43097
+ # ID. For example, `user:`emailId``, `serviceAccount:`emailId``, `group:`emailId`
43098
+ # `.
43099
+ # Corresponds to the JSON property `members`
43100
+ # @return [Array<String>]
43101
+ attr_accessor :members
43102
+
43103
+ # Role. (https://cloud.google.com/iam/docs/understanding-roles) For example, `
43104
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
43105
+ # Corresponds to the JSON property `role`
43106
+ # @return [String]
43107
+ attr_accessor :role
43108
+
43109
+ def initialize(**args)
43110
+ update!(**args)
43111
+ end
43112
+
43113
+ # Update properties of this object
43114
+ def update!(**args)
43115
+ @members = args[:members] if args.key?(:members)
43116
+ @role = args[:role] if args.key?(:role)
43117
+ end
43118
+ end
43119
+
41982
43120
  # Specifies the desired format for the server to use when it returns `audio_out`
41983
43121
  # messages.
41984
43122
  class GoogleAssistantAccessoryV1AudioOutConfig
@@ -42988,74 +44126,6 @@ module Google
42988
44126
  end
42989
44127
  end
42990
44128
 
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
44129
  # Represents the action responsible for properties update operations.
43060
44130
  class GoogleCloudContentwarehouseV1DataUpdateAction
43061
44131
  include Google::Apis::Core::Hashable
@@ -43713,49 +44783,6 @@ module Google
43713
44783
  end
43714
44784
  end
43715
44785
 
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
44786
  # Request message for DocumentService.FetchAcl
43760
44787
  class GoogleCloudContentwarehouseV1FetchAclRequest
43761
44788
  include Google::Apis::Core::Hashable
@@ -43885,84 +44912,6 @@ module Google
43885
44912
  end
43886
44913
  end
43887
44914
 
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
44915
  # Request message for DocumentService.GetDocument.
43967
44916
  class GoogleCloudContentwarehouseV1GetDocumentRequest
43968
44917
  include Google::Apis::Core::Hashable
@@ -44488,47 +45437,6 @@ module Google
44488
45437
  end
44489
45438
  end
44490
45439
 
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
45440
  # The DocAI processor information.
44533
45441
  class GoogleCloudContentwarehouseV1ProcessorInfo
44534
45442
  include Google::Apis::Core::Hashable
@@ -45185,37 +46093,44 @@ module Google
45185
46093
  end
45186
46094
  end
45187
46095
 
45188
- # Request message for DocumentService.RunPipeline.
45189
- class GoogleCloudContentwarehouseV1RunPipelineRequest
46096
+ # Metadata message of RunPipeline method.
46097
+ class GoogleCloudContentwarehouseV1RunPipelineMetadata
45190
46098
  include Google::Apis::Core::Hashable
45191
46099
 
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
46100
+ # The metadata message for Export-to-CDW pipeline.
46101
+ # Corresponds to the JSON property `exportToCdwPipelineMetadata`
46102
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata]
46103
+ attr_accessor :export_to_cdw_pipeline_metadata
45197
46104
 
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
46105
+ # Number of files that have failed at some point in the pipeline.
46106
+ # Corresponds to the JSON property `failedFileCount`
46107
+ # @return [Fixnum]
46108
+ attr_accessor :failed_file_count
45202
46109
 
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
46110
+ # The metadata message for GcsIngest pipeline.
46111
+ # Corresponds to the JSON property `gcsIngestPipelineMetadata`
46112
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata]
46113
+ attr_accessor :gcs_ingest_pipeline_metadata
45208
46114
 
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
46115
+ # The list of response details of each document.
46116
+ # Corresponds to the JSON property `individualDocumentStatuses`
46117
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus>]
46118
+ attr_accessor :individual_document_statuses
45214
46119
 
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
46120
+ # The metadata message for Process-with-DocAi pipeline.
46121
+ # Corresponds to the JSON property `processWithDocAiPipelineMetadata`
46122
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata]
46123
+ attr_accessor :process_with_doc_ai_pipeline_metadata
46124
+
46125
+ # Number of files that were processed by the pipeline.
46126
+ # Corresponds to the JSON property `totalFileCount`
46127
+ # @return [Fixnum]
46128
+ attr_accessor :total_file_count
46129
+
46130
+ # The user information.
46131
+ # Corresponds to the JSON property `userInfo`
46132
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo]
46133
+ attr_accessor :user_info
45219
46134
 
45220
46135
  def initialize(**args)
45221
46136
  update!(**args)
@@ -45223,11 +46138,112 @@ module Google
45223
46138
 
45224
46139
  # Update properties of this object
45225
46140
  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)
46141
+ @export_to_cdw_pipeline_metadata = args[:export_to_cdw_pipeline_metadata] if args.key?(:export_to_cdw_pipeline_metadata)
46142
+ @failed_file_count = args[:failed_file_count] if args.key?(:failed_file_count)
46143
+ @gcs_ingest_pipeline_metadata = args[:gcs_ingest_pipeline_metadata] if args.key?(:gcs_ingest_pipeline_metadata)
46144
+ @individual_document_statuses = args[:individual_document_statuses] if args.key?(:individual_document_statuses)
46145
+ @process_with_doc_ai_pipeline_metadata = args[:process_with_doc_ai_pipeline_metadata] if args.key?(:process_with_doc_ai_pipeline_metadata)
46146
+ @total_file_count = args[:total_file_count] if args.key?(:total_file_count)
46147
+ @user_info = args[:user_info] if args.key?(:user_info)
46148
+ end
46149
+ end
46150
+
46151
+ # The metadata message for Export-to-CDW pipeline.
46152
+ class GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata
46153
+ include Google::Apis::Core::Hashable
46154
+
46155
+ # The output CDW dataset resource name.
46156
+ # Corresponds to the JSON property `docAiDataset`
46157
+ # @return [String]
46158
+ attr_accessor :doc_ai_dataset
46159
+
46160
+ # The input list of all the resource names of the documents to be exported.
46161
+ # Corresponds to the JSON property `documents`
46162
+ # @return [Array<String>]
46163
+ attr_accessor :documents
46164
+
46165
+ def initialize(**args)
46166
+ update!(**args)
46167
+ end
46168
+
46169
+ # Update properties of this object
46170
+ def update!(**args)
46171
+ @doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
46172
+ @documents = args[:documents] if args.key?(:documents)
46173
+ end
46174
+ end
46175
+
46176
+ # The metadata message for GcsIngest pipeline.
46177
+ class GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata
46178
+ include Google::Apis::Core::Hashable
46179
+
46180
+ # The input Cloud Storage folder in this pipeline. Format: `gs:///`.
46181
+ # Corresponds to the JSON property `inputPath`
46182
+ # @return [String]
46183
+ attr_accessor :input_path
46184
+
46185
+ def initialize(**args)
46186
+ update!(**args)
46187
+ end
46188
+
46189
+ # Update properties of this object
46190
+ def update!(**args)
46191
+ @input_path = args[:input_path] if args.key?(:input_path)
46192
+ end
46193
+ end
46194
+
46195
+ # The status of processing a document.
46196
+ class GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus
46197
+ include Google::Apis::Core::Hashable
46198
+
46199
+ # Document identifier of an existing document.
46200
+ # Corresponds to the JSON property `documentId`
46201
+ # @return [String]
46202
+ attr_accessor :document_id
46203
+
46204
+ # The `Status` type defines a logical error model that is suitable for different
46205
+ # programming environments, including REST APIs and RPC APIs. It is used by [
46206
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
46207
+ # data: error code, error message, and error details. You can find out more
46208
+ # about this error model and how to work with it in the [API Design Guide](https:
46209
+ # //cloud.google.com/apis/design/errors).
46210
+ # Corresponds to the JSON property `status`
46211
+ # @return [Google::Apis::ContentwarehouseV1::GoogleRpcStatus]
46212
+ attr_accessor :status
46213
+
46214
+ def initialize(**args)
46215
+ update!(**args)
46216
+ end
46217
+
46218
+ # Update properties of this object
46219
+ def update!(**args)
46220
+ @document_id = args[:document_id] if args.key?(:document_id)
46221
+ @status = args[:status] if args.key?(:status)
46222
+ end
46223
+ end
46224
+
46225
+ # The metadata message for Process-with-DocAi pipeline.
46226
+ class GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata
46227
+ include Google::Apis::Core::Hashable
46228
+
46229
+ # The input list of all the resource names of the documents to be processed.
46230
+ # Corresponds to the JSON property `documents`
46231
+ # @return [Array<String>]
46232
+ attr_accessor :documents
46233
+
46234
+ # The DocAI processor information.
46235
+ # Corresponds to the JSON property `processorInfo`
46236
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
46237
+ attr_accessor :processor_info
46238
+
46239
+ def initialize(**args)
46240
+ update!(**args)
46241
+ end
46242
+
46243
+ # Update properties of this object
46244
+ def update!(**args)
46245
+ @documents = args[:documents] if args.key?(:documents)
46246
+ @processor_info = args[:processor_info] if args.key?(:processor_info)
45231
46247
  end
45232
46248
  end
45233
46249
 
@@ -48011,7 +49027,7 @@ module Google
48011
49027
  class GoogleInternalAppsWaldoV1alphaAvailabilityPeriod
48012
49028
  include Google::Apis::Core::Hashable
48013
49029
 
48014
- # Day of week, 0 for Sunday, 1 for Monday, ...
49030
+ # Day of week, 1 for Monday, ..., 7 for Sunday.
48015
49031
  # Corresponds to the JSON property `dayOfWeek`
48016
49032
  # @return [Fixnum]
48017
49033
  attr_accessor :day_of_week
@@ -48052,12 +49068,6 @@ module Google
48052
49068
  # @return [String]
48053
49069
  attr_accessor :committed_until
48054
49070
 
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
49071
  # The summary of the corresponding event in Calendar.
48062
49072
  # Corresponds to the JSON property `eventSummary`
48063
49073
  # @return [String]
@@ -48083,7 +49093,6 @@ module Google
48083
49093
  # Update properties of this object
48084
49094
  def update!(**args)
48085
49095
  @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
49096
  @event_summary = args[:event_summary] if args.key?(:event_summary)
48088
49097
  @next_available = args[:next_available] if args.key?(:next_available)
48089
49098
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
@@ -48136,12 +49145,6 @@ module Google
48136
49145
  # @return [String]
48137
49146
  attr_accessor :committed_until
48138
49147
 
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
49148
  # The next time when the user will be available, i.e., when their status will be
48146
49149
  # neither InMeeting, CalendarBusy, DoNotDisturb, OutsideWorkingHours, nor
48147
49150
  # OutOfOffice.
@@ -48162,7 +49165,6 @@ module Google
48162
49165
  # Update properties of this object
48163
49166
  def update!(**args)
48164
49167
  @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
49168
  @next_available = args[:next_available] if args.key?(:next_available)
48167
49169
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
48168
49170
  end
@@ -48193,12 +49195,6 @@ module Google
48193
49195
  # @return [String]
48194
49196
  attr_accessor :committed_until
48195
49197
 
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
49198
  # The summary of the corresponding event in Calendar.
48203
49199
  # Corresponds to the JSON property `eventSummary`
48204
49200
  # @return [String]
@@ -48229,7 +49225,6 @@ module Google
48229
49225
  # Update properties of this object
48230
49226
  def update!(**args)
48231
49227
  @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
49228
  @event_summary = args[:event_summary] if args.key?(:event_summary)
48234
49229
  @in_meetings_until = args[:in_meetings_until] if args.key?(:in_meetings_until)
48235
49230
  @next_available = args[:next_available] if args.key?(:next_available)
@@ -48332,12 +49327,6 @@ module Google
48332
49327
  # @return [String]
48333
49328
  attr_accessor :committed_until
48334
49329
 
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
49330
  # The summary of the corresponding OOO block in Calendar. This is entered by the
48342
49331
  # user, so we return it "as is" - no i18n.
48343
49332
  # Corresponds to the JSON property `eventSummary`
@@ -48352,7 +49341,6 @@ module Google
48352
49341
  def update!(**args)
48353
49342
  @come_back_time = args[:come_back_time] if args.key?(:come_back_time)
48354
49343
  @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
49344
  @event_summary = args[:event_summary] if args.key?(:event_summary)
48357
49345
  end
48358
49346
  end
@@ -62272,7 +63260,7 @@ module Google
62272
63260
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingModelsRecurrence]
62273
63261
  attr_accessor :recurrence
62274
63262
 
62275
- # Next id: 32
63263
+ # Next id: 33
62276
63264
  # Corresponds to the JSON property `reminder`
62277
63265
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminder]
62278
63266
  attr_accessor :reminder
@@ -62817,7 +63805,7 @@ module Google
62817
63805
 
62818
63806
  # Signals to be used by the Prefulfillment Ranker. Derived from the
62819
63807
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
62820
- # Next ID: 47
63808
+ # Next ID: 48
62821
63809
  # Corresponds to the JSON property `prefulfillmentSignals`
62822
63810
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
62823
63811
  attr_accessor :prefulfillment_signals
@@ -83704,7 +84692,7 @@ module Google
83704
84692
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
83705
84693
  # available tag deprecated, use this (and look for commented out fields): blaze-
83706
84694
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
83707
- # perdocdata.proto Next tag: 220
84695
+ # perdocdata.proto Next tag: 221
83708
84696
  class PerDocData
83709
84697
  include Google::Apis::Core::Hashable
83710
84698
 
@@ -88522,7 +89510,7 @@ module Google
88522
89510
  end
88523
89511
  end
88524
89512
 
88525
- # Next id: 32
89513
+ # Next id: 33
88526
89514
  class QualityActionsReminder
88527
89515
  include Google::Apis::Core::Hashable
88528
89516
 
@@ -88640,6 +89628,12 @@ module Google
88640
89628
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminderDynamiteGroup]
88641
89629
  attr_accessor :dynamite_group_assignment_source
88642
89630
 
89631
+ # OPTIONAL. Device ID for home notification which should have loud notification.
89632
+ # See go/device-id-storage-in-tasks
89633
+ # Corresponds to the JSON property `extraNotificationDeviceId`
89634
+ # @return [String]
89635
+ attr_accessor :extra_notification_device_id
89636
+
88643
89637
  # DEPRECATED. Use `client_id` or `server_id` instead.
88644
89638
  # Corresponds to the JSON property `id`
88645
89639
  # @return [String]
@@ -88734,6 +89728,7 @@ module Google
88734
89728
  @description = args[:description] if args.key?(:description)
88735
89729
  @document_assignment_source = args[:document_assignment_source] if args.key?(:document_assignment_source)
88736
89730
  @dynamite_group_assignment_source = args[:dynamite_group_assignment_source] if args.key?(:dynamite_group_assignment_source)
89731
+ @extra_notification_device_id = args[:extra_notification_device_id] if args.key?(:extra_notification_device_id)
88737
89732
  @id = args[:id] if args.key?(:id)
88738
89733
  @location = args[:location] if args.key?(:location)
88739
89734
  @log = args[:log] if args.key?(:log)
@@ -91849,10 +92844,7 @@ module Google
91849
92844
  # @return [Array<Fixnum>]
91850
92845
  attr_accessor :scores
91851
92846
 
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.
92847
+ # DEPRECATED. DO NOT USE IT FOR ANY REASON! contact orbit@ if necessary.
91856
92848
  # Corresponds to the JSON property `version`
91857
92849
  # @return [Fixnum]
91858
92850
  attr_accessor :version
@@ -94275,6 +95267,11 @@ module Google
94275
95267
  # @return [Array<Fixnum>]
94276
95268
  attr_accessor :fingerprint_of_offer_urls
94277
95269
 
95270
+ # Global trade item number (GTIN).
95271
+ # Corresponds to the JSON property `gtinValue`
95272
+ # @return [Array<String>]
95273
+ attr_accessor :gtin_value
95274
+
94278
95275
  # image_id is sorted and distinct for efficient search during serving.
94279
95276
  # Corresponds to the JSON property `imageId`
94280
95277
  # @return [Array<Fixnum>]
@@ -94349,6 +95346,7 @@ module Google
94349
95346
  @condition = args[:condition] if args.key?(:condition)
94350
95347
  @control_type = args[:control_type] if args.key?(:control_type)
94351
95348
  @fingerprint_of_offer_urls = args[:fingerprint_of_offer_urls] if args.key?(:fingerprint_of_offer_urls)
95349
+ @gtin_value = args[:gtin_value] if args.key?(:gtin_value)
94352
95350
  @image_id = args[:image_id] if args.key?(:image_id)
94353
95351
  @inferred_images = args[:inferred_images] if args.key?(:inferred_images)
94354
95352
  @is_lens_buildable = args[:is_lens_buildable] if args.key?(:is_lens_buildable)
@@ -94546,6 +95544,11 @@ module Google
94546
95544
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentPBlock]
94547
95545
  attr_accessor :pblock
94548
95546
 
95547
+ # Product level Browseonomy ids from shopping_annotation.product.browseonomy.
95548
+ # Corresponds to the JSON property `productBrowseonomyIds`
95549
+ # @return [Array<Fixnum>]
95550
+ attr_accessor :product_browseonomy_ids
95551
+
94549
95552
  #
94550
95553
  # Corresponds to the JSON property `productClusterMid`
94551
95554
  # @return [Fixnum]
@@ -94584,6 +95587,7 @@ module Google
94584
95587
  @offer = args[:offer] if args.key?(:offer)
94585
95588
  @outlink_domain_relationship = args[:outlink_domain_relationship] if args.key?(:outlink_domain_relationship)
94586
95589
  @pblock = args[:pblock] if args.key?(:pblock)
95590
+ @product_browseonomy_ids = args[:product_browseonomy_ids] if args.key?(:product_browseonomy_ids)
94587
95591
  @product_cluster_mid = args[:product_cluster_mid] if args.key?(:product_cluster_mid)
94588
95592
  @product_popularity = args[:product_popularity] if args.key?(:product_popularity)
94589
95593
  @relevance_embedding = args[:relevance_embedding] if args.key?(:relevance_embedding)
@@ -94934,7 +95938,7 @@ module Google
94934
95938
 
94935
95939
  # The following message contains info of sub image docs, it is populated in
94936
95940
  # query_state and consumed in web image boost twiddler: (go/
94937
- # WebImageBoostTwiddler).
95941
+ # WebImageBoostTwiddler). NextID: 25
94938
95942
  # Corresponds to the JSON property `salientImage`
94939
95943
  # @return [Google::Apis::ContentwarehouseV1::WwwResultInfoSubImageDocInfo]
94940
95944
  attr_accessor :salient_image
@@ -102768,17 +103772,6 @@ module Google
102768
103772
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
102769
103773
  attr_accessor :oyster_id
102770
103774
 
102771
- # This field is populated for at most one entity. If it is populated, it
102772
- # indicates how confident we are to claim that the page is only about this
102773
- # entity (either it's an official web presence of the entity, or something like
102774
- # a wikipedia page about the entity). For space reasons this is represented as a
102775
- # fixed-point integer with two decimal points precision. Convert it to the
102776
- # interval [0,1] using the following formula: float single_topicness =
102777
- # single_topicness_e2 / 100.f
102778
- # Corresponds to the JSON property `singleTopicnessE2`
102779
- # @return [Fixnum]
102780
- attr_accessor :single_topicness_e2
102781
-
102782
103775
  def initialize(**args)
102783
103776
  update!(**args)
102784
103777
  end
@@ -102790,7 +103783,6 @@ module Google
102790
103783
  @lat_e7 = args[:lat_e7] if args.key?(:lat_e7)
102791
103784
  @lng_e7 = args[:lng_e7] if args.key?(:lng_e7)
102792
103785
  @oyster_id = args[:oyster_id] if args.key?(:oyster_id)
102793
- @single_topicness_e2 = args[:single_topicness_e2] if args.key?(:single_topicness_e2)
102794
103786
  end
102795
103787
  end
102796
103788
 
@@ -103208,12 +104200,6 @@ module Google
103208
104200
  # @return [Array<Fixnum>]
103209
104201
  attr_accessor :unbound_intent_score_e2
103210
104202
 
103211
- # [Experimental code. Do not use ] Entities that webref identified as being the
103212
- # same concept (undermerged).
103213
- # Corresponds to the JSON property `undermergedMembers`
103214
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefWebrefMustangAttachmentUndermergedMembers>]
103215
- attr_accessor :undermerged_members
103216
-
103217
104203
  def initialize(**args)
103218
104204
  update!(**args)
103219
104205
  end
@@ -103232,26 +104218,6 @@ module Google
103232
104218
  @topicality_e2 = args[:topicality_e2] if args.key?(:topicality_e2)
103233
104219
  @unbound_intent_mid = args[:unbound_intent_mid] if args.key?(:unbound_intent_mid)
103234
104220
  @unbound_intent_score_e2 = args[:unbound_intent_score_e2] if args.key?(:unbound_intent_score_e2)
103235
- @undermerged_members = args[:undermerged_members] if args.key?(:undermerged_members)
103236
- end
103237
- end
103238
-
103239
- #
103240
- class RepositoryWebrefWebrefMustangAttachmentUndermergedMembers
103241
- include Google::Apis::Core::Hashable
103242
-
103243
- # Experimental code, do not use.
103244
- # Corresponds to the JSON property `encodedMid`
103245
- # @return [Array<Fixnum>]
103246
- attr_accessor :encoded_mid
103247
-
103248
- def initialize(**args)
103249
- update!(**args)
103250
- end
103251
-
103252
- # Update properties of this object
103253
- def update!(**args)
103254
- @encoded_mid = args[:encoded_mid] if args.key?(:encoded_mid)
103255
104221
  end
103256
104222
  end
103257
104223
 
@@ -104153,6 +105119,52 @@ module Google
104153
105119
  end
104154
105120
  end
104155
105121
 
105122
+ #
105123
+ class ResearchScamNumericRestrictNamespace
105124
+ include Google::Apis::Core::Hashable
105125
+
105126
+ # The name of this namespace.
105127
+ # Corresponds to the JSON property `namespace`
105128
+ # @return [String]
105129
+ attr_accessor :namespace
105130
+
105131
+ # This MUST be specified for queries and must NOT be specified for database
105132
+ # points.
105133
+ # Corresponds to the JSON property `op`
105134
+ # @return [String]
105135
+ attr_accessor :op
105136
+
105137
+ #
105138
+ # Corresponds to the JSON property `valueDouble`
105139
+ # @return [Float]
105140
+ attr_accessor :value_double
105141
+
105142
+ #
105143
+ # Corresponds to the JSON property `valueFloat`
105144
+ # @return [Float]
105145
+ attr_accessor :value_float
105146
+
105147
+ # NOTE: Integers are represented in 64 bits here, but if all integer values for
105148
+ # a given namespace fit in a narrower integer type (e.g. int8), we use the
105149
+ # narrower integer type internally, increasing performance.
105150
+ # Corresponds to the JSON property `valueInt`
105151
+ # @return [Fixnum]
105152
+ attr_accessor :value_int
105153
+
105154
+ def initialize(**args)
105155
+ update!(**args)
105156
+ end
105157
+
105158
+ # Update properties of this object
105159
+ def update!(**args)
105160
+ @namespace = args[:namespace] if args.key?(:namespace)
105161
+ @op = args[:op] if args.key?(:op)
105162
+ @value_double = args[:value_double] if args.key?(:value_double)
105163
+ @value_float = args[:value_float] if args.key?(:value_float)
105164
+ @value_int = args[:value_int] if args.key?(:value_int)
105165
+ end
105166
+ end
105167
+
104156
105168
  # Structure to hold the response time for a node. Last used: 3
104157
105169
  class ResearchScamOnlineSearchLatencyStats
104158
105170
  include Google::Apis::Core::Hashable
@@ -104440,6 +105452,14 @@ module Google
104440
105452
  # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScamTokenNamespace>]
104441
105453
  attr_accessor :namespaces
104442
105454
 
105455
+ # This field allows restricts to be based on numeric comparisons rather than
105456
+ # categorical tokens. HINT: To allow a range of values in a namespace (e.g. 42 <=
105457
+ # x < 128), specify the same namespace twice in the query, e.g.: `namespace: "x"
105458
+ # op: LESS value_int: 128 ` `namespace: "x" op: GREATER_EQUAL value_int: 42 `
105459
+ # Corresponds to the JSON property `numericNamespaces`
105460
+ # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScamNumericRestrictNamespace>]
105461
+ attr_accessor :numeric_namespaces
105462
+
104443
105463
  def initialize(**args)
104444
105464
  update!(**args)
104445
105465
  end
@@ -104447,6 +105467,7 @@ module Google
104447
105467
  # Update properties of this object
104448
105468
  def update!(**args)
104449
105469
  @namespaces = args[:namespaces] if args.key?(:namespaces)
105470
+ @numeric_namespaces = args[:numeric_namespaces] if args.key?(:numeric_namespaces)
104450
105471
  end
104451
105472
  end
104452
105473
 
@@ -107197,6 +108218,11 @@ module Google
107197
108218
  class ScienceCitationFundingExtractionInfo
107198
108219
  include Google::Apis::Core::Hashable
107199
108220
 
108221
+ # Set when we clear all extracted funding from this citation in the parser.
108222
+ # Corresponds to the JSON property `ClearedFunding`
108223
+ # @return [String]
108224
+ attr_accessor :cleared_funding
108225
+
107200
108226
  # Text block context from which the funding entry was extracted. Optionally
107201
108227
  # filled and intended to be used for offline analysis.
107202
108228
  # Corresponds to the JSON property `DebugFundingTextBlock`
@@ -107224,6 +108250,7 @@ module Google
107224
108250
 
107225
108251
  # Update properties of this object
107226
108252
  def update!(**args)
108253
+ @cleared_funding = args[:cleared_funding] if args.key?(:cleared_funding)
107227
108254
  @debug_funding_text_block = args[:debug_funding_text_block] if args.key?(:debug_funding_text_block)
107228
108255
  @doc_part = args[:doc_part] if args.key?(:doc_part)
107229
108256
  @parse_section = args[:parse_section] if args.key?(:parse_section)
@@ -109670,11 +110697,6 @@ module Google
109670
110697
  # @return [Float]
109671
110698
  attr_accessor :maximum_flash_ratio
109672
110699
 
109673
- # Mobile friendliness score in the range of [0, 100]. See go/modena-ranking.
109674
- # Corresponds to the JSON property `mobileFriendlyScore`
109675
- # @return [Fixnum]
109676
- attr_accessor :mobile_friendly_score
109677
-
109678
110700
  # Indicates if the page is violating mobile interstitial policy and should be
109679
110701
  # demoted. See go/interstitials-ranking-dd for details.
109680
110702
  # Corresponds to the JSON property `violatesMobileInterstitialPolicy`
@@ -109696,7 +110718,6 @@ module Google
109696
110718
  @is_smartphone_optimized = args[:is_smartphone_optimized] if args.key?(:is_smartphone_optimized)
109697
110719
  @is_web_error_mobile_content = args[:is_web_error_mobile_content] if args.key?(:is_web_error_mobile_content)
109698
110720
  @maximum_flash_ratio = args[:maximum_flash_ratio] if args.key?(:maximum_flash_ratio)
109699
- @mobile_friendly_score = args[:mobile_friendly_score] if args.key?(:mobile_friendly_score)
109700
110721
  @violates_mobile_interstitial_policy = args[:violates_mobile_interstitial_policy] if args.key?(:violates_mobile_interstitial_policy)
109701
110722
  end
109702
110723
  end
@@ -117425,7 +118446,8 @@ module Google
117425
118446
  include Google::Apis::Core::Hashable
117426
118447
 
117427
118448
  # The canonical error code (see codes.proto) that most closely corresponds to
117428
- # this status. May be missing.
118449
+ # this status. This may be missing, and in the common case of the generic space,
118450
+ # it definitely will be.
117429
118451
  # Corresponds to the JSON property `canonicalCode`
117430
118452
  # @return [Fixnum]
117431
118453
  attr_accessor :canonical_code
@@ -127035,7 +128057,7 @@ module Google
127035
128057
 
127036
128058
  # The following message contains info of sub image docs, it is populated in
127037
128059
  # query_state and consumed in web image boost twiddler: (go/
127038
- # WebImageBoostTwiddler).
128060
+ # WebImageBoostTwiddler). NextID: 25
127039
128061
  class WwwResultInfoSubImageDocInfo
127040
128062
  include Google::Apis::Core::Hashable
127041
128063
 
@@ -127060,6 +128082,11 @@ module Google
127060
128082
  # @return [String]
127061
128083
  attr_accessor :deep_crop_bytes
127062
128084
 
128085
+ # EQ* v3: Deep Image Engagingness(DImE) go/deep-image-engagingness-slides
128086
+ # Corresponds to the JSON property `dimeScore`
128087
+ # @return [Float]
128088
+ attr_accessor :dime_score
128089
+
127063
128090
  #
127064
128091
  # Corresponds to the JSON property `docid`
127065
128092
  # @return [Fixnum]
@@ -127178,6 +128205,7 @@ module Google
127178
128205
  @best_thumbnail_type = args[:best_thumbnail_type] if args.key?(:best_thumbnail_type)
127179
128206
  @crops = args[:crops] if args.key?(:crops)
127180
128207
  @deep_crop_bytes = args[:deep_crop_bytes] if args.key?(:deep_crop_bytes)
128208
+ @dime_score = args[:dime_score] if args.key?(:dime_score)
127181
128209
  @docid = args[:docid] if args.key?(:docid)
127182
128210
  @document_trust = args[:document_trust] if args.key?(:document_trust)
127183
128211
  @eq_star = args[:eq_star] if args.key?(:eq_star)