Google Cloud Dialogflow V2 Client - Class KnowledgeOperationMetadata (1.0.1)

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

Metadata in google::longrunning::Operation for Knowledge operations.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

Output only. The current state of this operation.

↳ knowledge_base string

The name of the knowledge base interacted with during the operation.

↳ export_operation_metadata Google\Cloud\Dialogflow\V2\ExportOperationMetadata

Metadata for the Export Data Operation such as the destination of export.

getState

Output only. The current state of this operation.

Generated from protobuf field .google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

setState

Output only. The current state of this operation.

Generated from protobuf field .google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKnowledgeBase

The name of the knowledge base interacted with during the operation.

Generated from protobuf field string knowledge_base = 3;

Returns
TypeDescription
string

setKnowledgeBase

The name of the knowledge base interacted with during the operation.

Generated from protobuf field string knowledge_base = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExportOperationMetadata

Metadata for the Export Data Operation such as the destination of export.

Generated from protobuf field .google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\ExportOperationMetadata|null

hasExportOperationMetadata

setExportOperationMetadata

Metadata for the Export Data Operation such as the destination of export.

Generated from protobuf field .google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\ExportOperationMetadata
Returns
TypeDescription
$this

getOperationMetadata

Returns
TypeDescription
string