GoogleCloudConnectorsV1EventingConfig.fromJson constructor

GoogleCloudConnectorsV1EventingConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudConnectorsV1EventingConfig.fromJson(core.Map json_)
    : this(
        additionalVariables: json_.containsKey('additionalVariables')
            ? (json_['additionalVariables'] as core.List)
                .map((value) =>
                    GoogleCloudConnectorsV1ConfigVariable.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        authConfig: json_.containsKey('authConfig')
            ? GoogleCloudConnectorsV1AuthConfig.fromJson(
                json_['authConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        deadLetterConfig: json_.containsKey('deadLetterConfig')
            ? GoogleCloudConnectorsV1EventingConfigDeadLetterConfig.fromJson(
                json_['deadLetterConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        enrichmentEnabled: json_.containsKey('enrichmentEnabled')
            ? json_['enrichmentEnabled'] as core.bool
            : null,
        eventsListenerIngressEndpoint:
            json_.containsKey('eventsListenerIngressEndpoint')
                ? json_['eventsListenerIngressEndpoint'] as core.String
                : null,
        listenerAuthConfig: json_.containsKey('listenerAuthConfig')
            ? GoogleCloudConnectorsV1AuthConfig.fromJson(
                json_['listenerAuthConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        privateConnectivityEnabled:
            json_.containsKey('privateConnectivityEnabled')
                ? json_['privateConnectivityEnabled'] as core.bool
                : null,
        proxyDestinationConfig: json_.containsKey('proxyDestinationConfig')
            ? GoogleCloudConnectorsV1DestinationConfig.fromJson(
                json_['proxyDestinationConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        registrationDestinationConfig:
            json_.containsKey('registrationDestinationConfig')
                ? GoogleCloudConnectorsV1DestinationConfig.fromJson(
                    json_['registrationDestinationConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );