EndpointResponse.fromMap constructor
EndpointResponse.fromMap(
- Map<String, dynamic> map
)
Implementation
factory EndpointResponse.fromMap(Map<String, dynamic> map) {
return EndpointResponse(
appEngineVersion: pulumi.Input.fromValue(AppEngineVersionEndpointResponse.fromMap((map['appEngineVersion']! as Map).cast<String, dynamic>())),
cloudFunction: pulumi.Input.fromValue(CloudFunctionEndpointResponse.fromMap((map['cloudFunction']! as Map).cast<String, dynamic>())),
cloudRunRevision: pulumi.Input.fromValue(CloudRunRevisionEndpointResponse.fromMap((map['cloudRunRevision']! as Map).cast<String, dynamic>())),
cloudSqlInstance: pulumi.Input.fromValue(map['cloudSqlInstance'] as String),
forwardingRule: pulumi.Input.fromValue(map['forwardingRule'] as String),
forwardingRuleTarget: pulumi.Input.fromValue(map['forwardingRuleTarget'] as String),
gkeMasterCluster: pulumi.Input.fromValue(map['gkeMasterCluster'] as String),
instance: pulumi.Input.fromValue(map['instance'] as String),
ipAddress: pulumi.Input.fromValue(map['ipAddress'] as String),
loadBalancerId: pulumi.Input.fromValue(map['loadBalancerId'] as String),
loadBalancerType: pulumi.Input.fromValue(map['loadBalancerType'] as String),
network: pulumi.Input.fromValue(map['network'] as String),
networkType: pulumi.Input.fromValue(map['networkType'] as String),
port: pulumi.Input.fromValue(map['port'] as int),
project: pulumi.Input.fromValue(map['project'] as String),
);
}