Google Cloud Dialogflow V2 Client - Class KnowledgeOperationMetadata (1.7.2)

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
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.

Returns
TypeDescription
int

setState

Output only. The current state of this operation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKnowledgeBase

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

Returns
TypeDescription
string

setKnowledgeBase

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExportOperationMetadata

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

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

hasExportOperationMetadata

setExportOperationMetadata

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

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

getOperationMetadata

Returns
TypeDescription
string