GoogleCloudDialogflowV2ImportDocumentsRequest.fromJson constructor

GoogleCloudDialogflowV2ImportDocumentsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2ImportDocumentsRequest.fromJson(core.Map json_)
    : this(
        documentTemplate: json_.containsKey('documentTemplate')
            ? GoogleCloudDialogflowV2ImportDocumentTemplate.fromJson(
                json_['documentTemplate']
                    as core.Map<core.String, core.dynamic>)
            : null,
        gcsSource: json_.containsKey('gcsSource')
            ? GoogleCloudDialogflowV2GcsSources.fromJson(
                json_['gcsSource'] as core.Map<core.String, core.dynamic>)
            : null,
        importGcsCustomMetadata: json_.containsKey('importGcsCustomMetadata')
            ? json_['importGcsCustomMetadata'] as core.bool
            : null,
      );