Google Cloud Dialogflow V2 Client - Class CreateConversationModelOperationMetadata (1.4.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CreateConversationModelOperationMetadata.

Metadata for a ConversationModels.CreateConversationModel operation.

Generated from protobuf message google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ conversation_model string

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

↳ state int

State of CreateConversationModel operation.

↳ create_time Google\Protobuf\Timestamp

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

getConversationModel

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

Returns
TypeDescription
string

setConversationModel

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

State of CreateConversationModel operation.

Returns
TypeDescription
int

setState

State of CreateConversationModel operation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this