GoogleCloudContactcenterinsightsV1IngestConversationsRequest.fromJson constructor

GoogleCloudContactcenterinsightsV1IngestConversationsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1IngestConversationsRequest.fromJson(
  core.Map json_,
) : this(
      conversationConfig: json_.containsKey('conversationConfig')
          ? GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig.fromJson(
              json_['conversationConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      gcsSource: json_.containsKey('gcsSource')
          ? GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource.fromJson(
              json_['gcsSource'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      parent: json_['parent'] as core.String?,
      redactionConfig: json_.containsKey('redactionConfig')
          ? GoogleCloudContactcenterinsightsV1RedactionConfig.fromJson(
              json_['redactionConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      sampleSize: json_['sampleSize'] as core.int?,
      speechConfig: json_.containsKey('speechConfig')
          ? GoogleCloudContactcenterinsightsV1SpeechConfig.fromJson(
              json_['speechConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      transcriptObjectConfig: json_.containsKey('transcriptObjectConfig')
          ? GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig.fromJson(
              json_['transcriptObjectConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );