Google Cloud Dialogflow V2 Client - Class CreateConversationModelOperationMetadata (1.16.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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setConversationModel

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

Parameter
Name Description
var string
Returns
Type Description
$this

getState

State of CreateConversationModel operation.

Returns
Type Description
int

setState

State of CreateConversationModel operation.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

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

Returns
Type Description
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
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this