Google Cloud Dialogflow V2 Client - Class CreateConversationModelOperationMetadata (1.0.1)

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>

Generated from protobuf field string conversation_model = 1;

Returns
TypeDescription
string

setConversationModel

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

Generated from protobuf field string conversation_model = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

State of CreateConversationModel operation.

Generated from protobuf field .google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Returns
TypeDescription
int

setState

State of CreateConversationModel operation.

Generated from protobuf field .google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

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.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

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.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

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