GetFunctionServiceConfigSecretVolume.fromMap constructor

GetFunctionServiceConfigSecretVolume.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetFunctionServiceConfigSecretVolume.fromMap(Map<String, dynamic> map) {
  return GetFunctionServiceConfigSecretVolume(
    mountPath: pulumi.Input.fromValue(map['mountPath'] as String),
    projectId: pulumi.Input.fromValue(map['projectId'] as String),
    secret: pulumi.Input.fromValue(map['secret'] as String),
    versions: pulumi.Input.fromValue(pulumi.Input.decodeList<GetFunctionServiceConfigSecretVolumeVersion>(map['versions']!, (value) => GetFunctionServiceConfigSecretVolumeVersion.fromMap((value as Map).cast<String, dynamic>()))),
  );
}