View Source GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesGovernedSurfaceIdentity (google_api_content_warehouse v0.2.0)
The set of information that helps the server identify the surface. This replaces the User-Agent string within the Assistant Server. Note: The SurfaceIdentity proto should only be used to derive the capabilities of a surface. It should not be accessed outside of the CapabilityBuilder or CapabilityChecker. IMPORTANT: The partial migration to the SurfaceIdentity and SurfaceVersion protos defined here is being rolled back (b/303012824). All existing references will be updated to point back to //assistant/api/core_types/surface_identity.proto. If you are adding a reference, use the SurfaceIdentity and SurfaceVersion protos defined there. NEXT ID: 6 LINT.IfChange
Attributes
-
deviceId
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t
, default:nil
) - The identifier of the device. -
legacySurfaceType
(type:String.t
, default:nil
) - DEPRECATED: The legacy device's surface type enum. NOTE: Prefer using the ontologicalsurface_type
field above. If you need to access the legacy surface type, please file a bug and add it in your code to migrate to ontological surface type. -
surfaceType
(type:String.t
, default:nil
) - The device's surface type. The types are defined at google3/assistant/api/core_types/surfaces.gcl. -
surfaceVersion
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesGovernedSurfaceVersion.t
, default:nil
) - The version of the surface/client. This is different from the Conversation protocol version.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesGovernedSurfaceIdentity{ deviceId: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t() | nil, legacySurfaceType: String.t() | nil, surfaceType: String.t() | nil, surfaceVersion: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesGovernedSurfaceVersion.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.