Google Cloud Dialogflow V2 Client - Class KnowledgeOperationMetadata (1.13.0)

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
int

setState

Output only. The current state of this operation.

Parameter
Name Description
var int
Returns
Type Description
$this

getKnowledgeBase

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

Returns
Type Description
string

setKnowledgeBase

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

Parameter
Name Description
var string
Returns
Type Description
$this

getExportOperationMetadata

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

Returns
Type Description
Google\Cloud\Dialogflow\V2\ExportOperationMetadata|null

hasExportOperationMetadata

setExportOperationMetadata

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

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\ExportOperationMetadata
Returns
Type Description
$this

getOperationMetadata

Returns
Type Description
string