Represents an App.
Package
@google-cloud/cesConstructors
(constructor)(properties)
constructor
(
properties
?:
google
.
cloud
.
ces
.
v1
.
IApp
);
Constructs a new App.
Properties
audioProcessingConfig
public
audioProcessingConfig
?:
(
google
.
cloud
.
ces
.
v1
.
IAudioProcessingConfig
|
null
);
App audioProcessingConfig.
clientCertificateSettings
public
clientCertificateSettings
?:
(
google
.
cloud
.
ces
.
v1
.
IClientCertificateSettings
|
null
);
App clientCertificateSettings.
createTime
public
createTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
App createTime.
dataStoreSettings
public
dataStoreSettings
?:
(
google
.
cloud
.
ces
.
v1
.
IDataStoreSettings
|
null
);
App dataStoreSettings.
defaultChannelProfile
public
defaultChannelProfile
?:
(
google
.
cloud
.
ces
.
v1
.
IChannelProfile
|
null
);
App defaultChannelProfile.
deploymentCount
public
deploymentCount
:
number
;
App deploymentCount.
description
public
description
:
string
;
App description.
displayName
public
displayName
:
string
;
App displayName.
errorHandlingSettings
public
errorHandlingSettings
?:
(
google
.
cloud
.
ces
.
v1
.
IErrorHandlingSettings
|
null
);
App errorHandlingSettings.
etag
public
etag
:
string
;
App etag.
evaluationMetricsThresholds
public
evaluationMetricsThresholds
?:
(
google
.
cloud
.
ces
.
v1
.
IEvaluationMetricsThresholds
|
null
);
App evaluationMetricsThresholds.
globalInstruction
public
globalInstruction
:
string
;
App globalInstruction.
guardrails
public
guardrails
:
string
[];
App guardrails.
languageSettings
public
languageSettings
?:
(
google
.
cloud
.
ces
.
v1
.
ILanguageSettings
|
null
);
App languageSettings.
locked
public
locked
:
boolean
;
App locked.
loggingSettings
public
loggingSettings
?:
(
google
.
cloud
.
ces
.
v1
.
ILoggingSettings
|
null
);
App loggingSettings.
metadata
public
metadata
:
{
[
k
:
string
]
:
string
};
App metadata.
modelSettings
public
modelSettings
?:
(
google
.
cloud
.
ces
.
v1
.
IModelSettings
|
null
);
App modelSettings.
name
public
name
:
string
;
App name.
pinned
public
pinned
:
boolean
;
App pinned.
predefinedVariableDeclarations
public
predefinedVariableDeclarations
:
google
.
cloud
.
ces
.
v1
.
App
.
IVariableDeclaration
[];
App predefinedVariableDeclarations.
rootAgent
public
rootAgent
:
string
;
App rootAgent.
timeZoneSettings
public
timeZoneSettings
?:
(
google
.
cloud
.
ces
.
v1
.
ITimeZoneSettings
|
null
);
App timeZoneSettings.
toolExecutionMode
public
toolExecutionMode
:
(
google
.
cloud
.
ces
.
v1
.
App
.
ToolExecutionMode
|
keyof
typeof
google
.
cloud
.
ces
.
v1
.
App
.
ToolExecutionMode
);
App toolExecutionMode.
updateTime
public
updateTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
App updateTime.
variableDeclarations
public
variableDeclarations
:
google
.
cloud
.
ces
.
v1
.
App
.
IVariableDeclaration
[];
App variableDeclarations.
Methods
create(properties)
public
static
create
(
properties
?:
google
.
cloud
.
ces
.
v1
.
IApp
)
:
google
.
cloud
.
ces
.
v1
.
App
;
Creates a new App instance using the specified properties.
decode(reader, length)
public
static
decode
(
reader
:
(
$protobuf
.
Reader
|
Uint8Array
),
length
?:
number
)
:
google
.
cloud
.
ces
.
v1
.
App
;
Decodes an App message from the specified reader or buffer.
reader
( Reader
| Uint8Array
)
Reader or buffer to decode from
length
number
Message length if known beforehand
decodeDelimited(reader)
public
static
decodeDelimited
(
reader
:
(
$protobuf
.
Reader
|
Uint8Array
))
:
google
.
cloud
.
ces
.
v1
.
App
;
Decodes an App message from the specified reader or buffer, length delimited.
reader
( Reader
| Uint8Array
)
Reader or buffer to decode from
encode(message, writer)
public
static
encode
(
message
:
google
.
cloud
.
ces
.
v1
.
IApp
,
writer
?:
$protobuf
.
Writer
)
:
$protobuf
.
Writer
;
Encodes the specified App message. Does not implicitly messages.
message
writer
$protobuf.Writer
Writer to encode to
$protobuf.Writer
Writer
encodeDelimited(message, writer)
public
static
encodeDelimited
(
message
:
google
.
cloud
.
ces
.
v1
.
IApp
,
writer
?:
$protobuf
.
Writer
)
:
$protobuf
.
Writer
;
Encodes the specified App message, length delimited. Does not implicitly messages.
message
writer
$protobuf.Writer
Writer to encode to
$protobuf.Writer
Writer
fromObject(object)
public
static
fromObject
(
object
:
{
[
k
:
string
]
:
any
})
:
google
.
cloud
.
ces
.
v1
.
App
;
Creates an App message from a plain object. Also converts values to their respective internal types.
object
{ [k: string]: any }
Plain object
getTypeUrl(typeUrlPrefix)
public
static
getTypeUrl
(
typeUrlPrefix
?:
string
)
:
string
;
Gets the default type url for App
typeUrlPrefix
string
your custom typeUrlPrefix(default "type.googleapis.com")
string
The default type url
toJSON()
public
toJSON
()
:
{
[
k
:
string
]
:
any
};
Converts this App to JSON.
{ [k: string]: any }
JSON object
toObject(message, options)
public
static
toObject
(
message
:
google
.
cloud
.
ces
.
v1
.
App
,
options
?:
$protobuf
.
IConversionOptions
)
:
{
[
k
:
string
]
:
any
};
Creates a plain object from an App message. Also converts values to other types if specified.
{ [k: string]: any }
Plain object
verify(message)
public
static
verify
(
message
:
{
[
k
:
string
]
:
any
})
:
(
string
|
null
);
Verifies an App message.
message
{ [k: string]: any }
Plain object to verify
(string|null)
null
if valid, otherwise the reason why it is not

