GoogleCloudRunV2VpcAccess.fromJson constructor

GoogleCloudRunV2VpcAccess.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2VpcAccess.fromJson(core.Map json_)
    : this(
        connector: json_.containsKey('connector')
            ? json_['connector'] as core.String
            : null,
        egress: json_.containsKey('egress')
            ? json_['egress'] as core.String
            : null,
        networkInterfaces: json_.containsKey('networkInterfaces')
            ? (json_['networkInterfaces'] as core.List)
                .map((value) => GoogleCloudRunV2NetworkInterface.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );