toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'consumerAddress': ?consumerAddress,
'consumerForwardingRule': ?consumerForwardingRule,
'consumerTargetProject': ?consumerTargetProject,
'error': ?pulumi.Input.mapOptionalInputValue<ServiceConnectionPolicyPscConnectionError, Map<String, dynamic>>(error, (value) => value.toMap()),
'errorInfo': ?pulumi.Input.mapOptionalInputValue<ServiceConnectionPolicyPscConnectionErrorInfo, Map<String, dynamic>>(errorInfo, (value) => value.toMap()),
'errorType': ?errorType,
'gceOperation': ?gceOperation,
'pscConnectionId': ?pscConnectionId,
'state': ?state,
};
}