RegionBackendServiceConsistentHashHttpCookieTtl.fromMap constructor
RegionBackendServiceConsistentHashHttpCookieTtl.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RegionBackendServiceConsistentHashHttpCookieTtl.fromMap(Map<String, dynamic> map) {
return RegionBackendServiceConsistentHashHttpCookieTtl(
nanos: (() { final guardedValue = map['nanos']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
seconds: pulumi.Input.fromValue((map['seconds'] as num).toInt()),
);
}