GoogleCloudRunV2Volume.fromJson constructor

GoogleCloudRunV2Volume.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2Volume.fromJson(core.Map json_)
    : this(
        cloudSqlInstance: json_.containsKey('cloudSqlInstance')
            ? GoogleCloudRunV2CloudSqlInstance.fromJson(
                json_['cloudSqlInstance']
                    as core.Map<core.String, core.dynamic>)
            : null,
        emptyDir: json_.containsKey('emptyDir')
            ? GoogleCloudRunV2EmptyDirVolumeSource.fromJson(
                json_['emptyDir'] as core.Map<core.String, core.dynamic>)
            : null,
        gcs: json_.containsKey('gcs')
            ? GoogleCloudRunV2GCSVolumeSource.fromJson(
                json_['gcs'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        nfs: json_.containsKey('nfs')
            ? GoogleCloudRunV2NFSVolumeSource.fromJson(
                json_['nfs'] as core.Map<core.String, core.dynamic>)
            : null,
        secret: json_.containsKey('secret')
            ? GoogleCloudRunV2SecretVolumeSource.fromJson(
                json_['secret'] as core.Map<core.String, core.dynamic>)
            : null,
      );