Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in anEvaluationJobfor a model version that performs classification.
getTextMetadata
Required for text import, as language code must be specified.
Required. Data type must be specifed when user tries to import data.
Returns
Type
Description
int
setDataType
Required. Data type must be specifed when user tries to import data.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAnnotationType
Optional. The type of annotation to be performed on this data. You must
specify this field if you are using this InputConfig in anEvaluationJob.
Returns
Type
Description
int
setAnnotationType
Optional. The type of annotation to be performed on this data. You must
specify this field if you are using this InputConfig in anEvaluationJob.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getClassificationMetadata
Optional. Metadata about annotations for the input. You must specify this
field if you are using this InputConfig in anEvaluationJobfor a
model version that performs classification.
Optional. Metadata about annotations for the input. You must specify this
field if you are using this InputConfig in anEvaluationJobfor a
model version that performs classification.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Datalabeling V1beta1 Client - Class InputConfig (0.6.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.3 (latest)](/php/docs/reference/cloud-datalabeling/latest/V1beta1.InputConfig)\n- [0.6.2](/php/docs/reference/cloud-datalabeling/0.6.2/V1beta1.InputConfig)\n- [0.5.7](/php/docs/reference/cloud-datalabeling/0.5.7/V1beta1.InputConfig)\n- [0.4.2](/php/docs/reference/cloud-datalabeling/0.4.2/V1beta1.InputConfig)\n- [0.3.1](/php/docs/reference/cloud-datalabeling/0.3.1/V1beta1.InputConfig)\n- [0.2.0](/php/docs/reference/cloud-datalabeling/0.2.0/V1beta1.InputConfig)\n- [0.1.14](/php/docs/reference/cloud-datalabeling/0.1.14/V1beta1.InputConfig) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class InputConfig.\n\nThe configuration of input data, including data type, location, etc.\n\nGenerated from protobuf message `google.cloud.datalabeling.v1beta1.InputConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataLabeling \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTextMetadata\n\nRequired for text import, as language code must be specified.\n\n### hasTextMetadata\n\n### setTextMetadata\n\nRequired for text import, as language code must be specified.\n\n### getGcsSource\n\nSource located in Cloud Storage.\n\n### hasGcsSource\n\n### setGcsSource\n\nSource located in Cloud Storage.\n\n### getBigquerySource\n\nSource located in BigQuery. You must specify this field if you are using\nthis InputConfig in an [EvaluationJob](/php/docs/reference/cloud-datalabeling/latest/V1beta1.EvaluationJob).\n\n### hasBigquerySource\n\n### setBigquerySource\n\nSource located in BigQuery. You must specify this field if you are using\nthis InputConfig in an [EvaluationJob](/php/docs/reference/cloud-datalabeling/latest/V1beta1.EvaluationJob).\n\n### getDataType\n\nRequired. Data type must be specifed when user tries to import data.\n\n### setDataType\n\nRequired. Data type must be specifed when user tries to import data.\n\n### getAnnotationType\n\nOptional. The type of annotation to be performed on this data. You must\nspecify this field if you are using this InputConfig in an\n[EvaluationJob](/php/docs/reference/cloud-datalabeling/latest/V1beta1.EvaluationJob).\n\n### setAnnotationType\n\nOptional. The type of annotation to be performed on this data. You must\nspecify this field if you are using this InputConfig in an\n[EvaluationJob](/php/docs/reference/cloud-datalabeling/latest/V1beta1.EvaluationJob).\n\n### getClassificationMetadata\n\nOptional. Metadata about annotations for the input. You must specify this\nfield if you are using this InputConfig in an [EvaluationJob](/php/docs/reference/cloud-datalabeling/latest/V1beta1.EvaluationJob) for a\nmodel version that performs classification.\n\n### hasClassificationMetadata\n\n### clearClassificationMetadata\n\n### setClassificationMetadata\n\nOptional. Metadata about annotations for the input. You must specify this\nfield if you are using this InputConfig in an [EvaluationJob](/php/docs/reference/cloud-datalabeling/latest/V1beta1.EvaluationJob) for a\nmodel version that performs classification.\n\n### getDataTypeMetadata\n\n### getSource"]]