GoogleCloudApigeeV1RuntimeTraceConfig.fromJson constructor

GoogleCloudApigeeV1RuntimeTraceConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1RuntimeTraceConfig.fromJson(core.Map json_)
    : this(
        endpoint: json_.containsKey('endpoint')
            ? json_['endpoint'] as core.String
            : null,
        exporter: json_.containsKey('exporter')
            ? json_['exporter'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        overrides: json_.containsKey('overrides')
            ? (json_['overrides'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1RuntimeTraceConfigOverride.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        revisionCreateTime: json_.containsKey('revisionCreateTime')
            ? json_['revisionCreateTime'] as core.String
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        samplingConfig: json_.containsKey('samplingConfig')
            ? GoogleCloudApigeeV1RuntimeTraceSamplingConfig.fromJson(
                json_['samplingConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );